Results 1 to 3 of 3
  1. #1
    funkygoorilla is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    93

    Allow only 4 digits in field

    Hi,
    I need to limit a field on a form, to allow the user to enter time in 24 hour format. But I need to set it to only allow 4 digits, including beginning with zeros. When I use something like Like "####" , it doesnt allow leading zeros. Anybody know how this can be done?
    Thanks, FunkyG

  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,963
    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
    funkygoorilla is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    93
    Hi June7, thanks for the link. Thats a keeper for sure. I wound up using 9### and it allows for zeros and limits the space to four characters. Thats what I needed!

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

Similar Threads

  1. New Computer not accepting 5 digits
    By abie059 in forum Database Design
    Replies: 3
    Last Post: 01-10-2011, 10:02 PM
  2. Replies: 8
    Last Post: 12-11-2010, 07:14 PM
  3. Ignore last two digits in formula
    By anstasija in forum Access
    Replies: 6
    Last Post: 11-02-2010, 08:57 PM
  4. rounding digits
    By giladweil in forum Access
    Replies: 1
    Last Post: 09-01-2010, 03:11 AM
  5. Report query by digits
    By The Phil in forum Reports
    Replies: 4
    Last Post: 04-23-2010, 11:52 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