Access provides a
convenient input mask for entering phone numbers that consist of all numbers.
But what if you enter telephone numbers that consist of numbers and letters? For
example, say you sell software to the local football team,
whose telephone number is (800) GO BIRDS. You cannot enter this if you use the
built-in mask; you will have to create a custom input mask for inputting alphanumeric
telephone numbers. Follow these steps:
- Open the table in Design View.
- Click the Telephone Number field.
- Under Field Properties, click the Triple Dot button
in the Input Mask property box.
- In the Input Mask Wizard, click Edit List.
- Click the New Record button.
- In Description, enter Alphanumeric Phone Number.
- In the Input Mask box, enter !(999) AAAAAAA.
- In the Sample Data box, enter (800) GoBirds.
- Click Close.
- Click Finish.
You now have an input mask that you
can use for telephone numbers that consist of both numbers and letters.
Miss a tip?
Check out the Microsoft Access archive, and catch up on our most recent Access tips.
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.
Subscribe to the Developer Insider Newsletter
From the hottest programming languages to commentary on the Linux OS, get the developer and open source news and tips you need to know. Delivered Tuesdays and Thursdays