Results 1 to 5 of 5
  1. #1
    Dave D is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Jun 2014
    Posts
    45

    List Box and Integers

    One of the fields I'm showing in a list box is of type Integer; however, when shown in the list box it displays as a whole number.



    For example, if the field in the table has the number 123, it displays in the list box as 123.00. Can I correct this behavior, or am I stuck?

  2. #2
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Doing this in 2007, using the Listbox Wizard, I can't reproduce your problem. How did you populate the Listbox?

    Linq ;0)>

  3. #3
    Dave D is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Jun 2014
    Posts
    45
    like you, I am using the list box wizard.

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    This isn't a calculated value, is it? When calculations are done the Access Gnomes sometimes will do this, with the results.

    Linq ;0)>

  5. #5
    Dave D is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Jun 2014
    Posts
    45
    Alas, I found the problem - nope, not a calculated value - but a format setting in the table itself. The table had the following:

    Field Size: Integer
    Format: Standard
    Decimal Places: 0

    I deleted the format and it now works as advertised.

    Thank you for trying to help, 'linq.

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

Similar Threads

  1. Chart Y Axis Whole Integers
    By james28 in forum Reports
    Replies: 3
    Last Post: 08-21-2014, 12:31 PM
  2. Replies: 15
    Last Post: 11-20-2013, 04:30 PM
  3. Replies: 5
    Last Post: 04-01-2013, 11:49 AM
  4. Hve text combo box values but store integers in field
    By accesshelpasker in forum Access
    Replies: 9
    Last Post: 10-28-2011, 10:49 AM
  5. how to put multiple integers in a parameter
    By khackbarth in forum Queries
    Replies: 3
    Last Post: 02-14-2010, 08:17 PM

Tags for this Thread

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