Results 1 to 3 of 3
  1. #1
    Margaret123 is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    10

    Post Input Mask for 9-Digit Zip Code

    Hi. I am teaching myself Microsoft Access 2016. I am interested in creating a zip code field which includes the first 5 digits of the zip code, hyphen, and required 4 digit code after the hyphen. I have placed 00000\-0000;0;_ into the Input Mask property box but when I tested a record, Access did not require the 4 digit code. Is there a way to get Access to require this 4 digit code?

    Thank you.


  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,892
    It works for me. Cannot leave textbox until I enter all 9 digits.

    It won't do anything with already existing records unless you edit that field's data.
    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
    Margaret123 is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    10

    Works Now

    Quote Originally Posted by June7 View Post
    It works for me. Cannot leave textbox until I enter all 9 digits.

    It won't do anything with already existing records unless you edit that field's data.
    I tested it by creating a new record and it worked. I will have to edit the previous fields.

    Thank you for your reply.

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

Similar Threads

  1. Input mask
    By Khalil Handal in forum Forms
    Replies: 1
    Last Post: 06-07-2018, 09:31 PM
  2. Replies: 4
    Last Post: 05-02-2016, 04:23 PM
  3. Replies: 20
    Last Post: 10-13-2015, 09:05 AM
  4. Replies: 2
    Last Post: 09-01-2015, 02:57 AM
  5. UK Postcode/ZIP Code Input Mask
    By tsn.s in forum Access
    Replies: 1
    Last Post: 04-02-2012, 05:49 AM

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