Results 1 to 5 of 5
  1. #1
    Niko is offline Advanced Beginner
    Windows 7 64bit Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    47

    Displaying of number on form

    Hi guys, I had no idea why the number that display on my form is different from the number in my database. How can i fix that?


    I have tried changing the data type in my table for styleNO to number but it still will not work.
    The first image refers to the number on my database that should appear the on my form
    The second image refers to the number that is on my form
    Click image for larger version. 

Name:	data.png 
Views:	8 
Size:	1.1 KB 
ID:	30738Click image for larger version. 

Name:	style.png 
Views:	8 
Size:	1,016 Bytes 
ID:	30740

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,919
    Since these are really identifier values, not truly numeric like a quantity, could be a text field.

    Is the textbox Format property set to Scientific?
    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.

  3. #3
    Niko is offline Advanced Beginner
    Windows 7 64bit Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    47
    Quote Originally Posted by June7 View Post
    Since these are really identifier values, not truly numeric like a quantity, could be a text field.

    Is the textbox Format property set to Scientific?
    I tried setting it to short/long text still the same.
    I set the textbox to general number

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,919
    Try Fixed format. Decimal Places set to 0.

    Or change field to text type.
    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.

  5. #5
    Niko is offline Advanced Beginner
    Windows 7 64bit Access 2013 64bit
    Join Date
    Oct 2017
    Posts
    47
    Quote Originally Posted by June7 View Post
    Try Fixed format. Decimal Places set to 0.

    Or change field to text type.
    OMG! I change the textbox property to fixed and no decimal place and it works!!
    Thank you so much!!

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

Similar Threads

  1. Displaying text when a number is <0.1
    By badmem in forum Access
    Replies: 2
    Last Post: 03-01-2016, 08:02 AM
  2. Replies: 6
    Last Post: 01-24-2013, 10:02 PM
  3. Replies: 3
    Last Post: 07-25-2012, 10:35 AM
  4. displaying the number of each values
    By hklein in forum Queries
    Replies: 3
    Last Post: 09-02-2011, 09:27 AM
  5. Replies: 6
    Last Post: 07-25-2011, 01:54 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