Use an input mask to simplify data entry in Access
Takeaway: Did you know that you can configure Microsoft Access to enter hyphens and parentheses for you? See how easy this is with just a few tweaks to the field's Input Mask property.
It's much easier to enter phone numbers if you don't have to type the hyphens and parentheses. Did you know that you can configure Microsoft Access to enter those special characters for you? You just need to tweak the field's Input Mask property.
To create an input mask for a phone number field, follow these steps:
- Open the table in Design View, and select the Phone field.
- In the Field Properties window, click the Input Mask text box.
- Click the builder button to the right of the text box.
- Click Next to select the suggested phone number mask.
- Click Next to select the suggested placeholder, and click Finish.
Now, to enter a phone number, just move to the field, and type the numbers. The special characters will appear automatically.
If the suggested mask isn't appropriate, you can add your own mask to the list provided. For example, suppose you want Access to format phone numbers as 206-555-0000.
In the first Input Mask Wizard window, click the Edit List button. Delete the parentheses, and add a hyphen to the existing input mask. Retype the sample data, and click Close. Go through the rest of the wizard to enter the new mask into the field's properties.
Help users increase productivity by automatically signing up for TechRepublic's free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.
Print/View all Posts Comments on this article
SponsoredWhite Papers, Webcasts, and Downloads
- CCNA v2.0 Review Global Knowledge
- Ethical Hacking and Risk Assessments Global Knowledge
- Vista SP1: What You Need To Know Before You Deploy Global Knowledge
- Router Essentials Global Knowledge
- 2008 IT Salary and Skills Report Global Knowledge
Article Categories
- Security
- Security Solutions, IT Locksmith
- Networking and Communications
- E-mail Administration NetNote, Cisco Routers and Switches
- CIO and IT Management
- Project Management, CIO Issues, Strategies that Scale
- Desktops, Laptops & OS
- Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
- Data Management
- Oracle, SQL Server
- Servers
- Windows NT, Linux NetNote, Windows Server 2003
- Career Development
- Geek Trivia
- Software/Web Development
- Web Development Zone, Visual Basic, .NET

