Results 1 to 3 of 3
  1. #1
    jpsprack is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Posts
    6

    form/table not displaying zero

    Hi all



    I know this is pretty much a simple fix but for the life of me I cannot remember how to do it!

    I have a 9 digit ID that is inputted on a form and stored in a table but the 0 keeps getting dropped.

    I am using an input mask similar to another db but it is not working for this one

    mask I am using is 000000000;0;_

    So for ID's that start with 0 (EX:012345678) would display and stored as 12345678 instead

    My brain is fried so any help is appreciated.

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    It is usually best to store ID numbers as Text (String) and not Numeric. Then no leading zeroes will be dropped and you won't need to fool around with Custom Formats.

  3. #3
    jpsprack is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Posts
    6
    ugh.... thats what i did different... number not text.... sigh... always the little things
    Thanks!

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

Similar Threads

  1. Replies: 10
    Last Post: 07-04-2015, 02:55 PM
  2. Displaying data from table on Calendar form
    By Voodeux2014 in forum Forms
    Replies: 1
    Last Post: 05-07-2015, 03:16 PM
  3. Replies: 5
    Last Post: 03-04-2014, 03:12 PM
  4. Replies: 1
    Last Post: 11-07-2010, 11:04 AM
  5. Form not displaying source table data
    By Sarge, USMC in forum Forms
    Replies: 6
    Last Post: 10-25-2010, 07:36 AM

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