Results 1 to 4 of 4
  1. #1
    acannon is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Birmingham, AL
    Posts
    16

    Unhappy ComboBox Rounding Numeric Values

    Greetings, I have a form containing a combobox as a picklist for one of its values. The rowsource for the picklist is a table containing only the one field. The field is formatted as numeric, decimal, 2 decimal places, and the data in it was entered manually as 2 decimal places even where the value was a whole # like 5.00. The table receiving the data from the picklist via a query and form is formatted the same as the rowsource table. Some of the rowsource values are fractional, such as 7.50, but when that value is picked from the picklist it is displayed and entered into the table as 8.00. I have tried everything I can think of in the way of numeric formats, decimal precision, etc, and cannot get the result of the picklist to not be rounded. In every instance the value is rounded up to the next whole # for any fractional value in the rowsource table.

    How do I get the value entered from the picklist to stop rounding? Any help will be greatly appreciated.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    What is the data type and field size of the field in the destination table?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    acannon is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Birmingham, AL
    Posts
    16
    Thanks, pbaldy! You jogged my memory and got me to look at the underlying table since the form was based on a multi-table query. The underlying table format was the problem, and is now fixed.

    Thanks!!!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Happy to help!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Ordering Numeric Values
    By kazaccess in forum Access
    Replies: 7
    Last Post: 12-31-2013, 02:00 PM
  2. compare two values rounding problem
    By BCJourney in forum Queries
    Replies: 7
    Last Post: 08-06-2013, 07:27 AM
  3. Setting Up DB with numeric values
    By dashingirish in forum Access
    Replies: 4
    Last Post: 02-17-2012, 03:41 PM
  4. Updating Numeric Values
    By dssrun in forum Queries
    Replies: 9
    Last Post: 11-24-2010, 11:20 AM
  5. Replies: 3
    Last Post: 04-04-2010, 05:26 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