Results 1 to 2 of 2
  1. #1
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476

    2-Quick Questions

    I have 2-questions regarding Forms:



    1) In many of my Forms I used a common field called, ‘hrs’ the DataType is, number, standard, decimal set at “1” e.g. (.5 1.0 1.5 2.0 2.5 etc) So I created a Table called “DurationsHrs”, set the number field properties as described & entered in the numbers. So far so good; when I create a Combo Box based on my “DurationHrs” Table, the numbers in the Combo Box comes up as: 0.50, 1.00, 1.50, 2.00, etc. I went into the Combo Box Properties, for the Format I have “Standard” & Decimal Places I have “1” Yet, when I run the Form the numbers in the “hrs” are still 1.00, 1.50 2.00, 2.50 – why?

    2) With Conditional Formatting, can you somehow carry a set of rules created from one Form to another Form (or for that matter from 1-Report to another Report)? How?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    1. You mean the two decimals show in the RowSource? I just replicated that. Must have something to do with the values in combobox columns are actually strings, regardless of datatype in table. The combobox insists on filling in or truncating to two decimals. Note that if you set the combobox to 3 decimals the RowSource still shows 2. Only way to control that is to use Format function.
    Select Format(Hrs,"0.0") FROM DurationHrs;

    2. Only by copy/paste the object or controls.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Quick Question
    By chivo123 in forum Access
    Replies: 6
    Last Post: 01-24-2012, 09:52 AM
  2. Quick Question!
    By kp123 in forum Access
    Replies: 1
    Last Post: 12-12-2011, 02:21 PM
  3. Quick Q about SendObject
    By Hello World in forum Forms
    Replies: 1
    Last Post: 10-03-2011, 10:01 AM
  4. 3 Quick Q's
    By anoob in forum Access
    Replies: 5
    Last Post: 01-14-2011, 10:42 AM
  5. quick query syntax questions
    By cowboy in forum Access
    Replies: 6
    Last Post: 02-03-2010, 06:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums