Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > Input Mask < Seasonal Address | Turn Off Filter >
Input Mask
By Richard Rost   Richard Rost on LinkedIn Email Richard Rost   3 years ago

Use an Input Mask for Phone Numbers, ZIP Codes


 S  M  L  XL  FS  |  Slo  Reg  Fast  2x  |  Bookmark Join Now

In this video, I will teach you how to use an Input Mask in your Microsoft Access tables and forms. We will create input masks for telephone numbers, ZIP codes, dates, and more.

Mckenzie from Chandler, Arizona (A Gold Member) asks: The phone number field in my database is a mess. Some people are typing in dashes, others parentheses, others with nothing at all. I've got:

  239-555-1212
  
(239)555-1212
  
2395551212

I recently wanted to make a report showing customers by area code, and I couldn't do it because my data isn't uniform. How can I force my users to use ONE format for entering phone numbers?

Members

Members will learn how to dynamically change the input mask based on another field. For example, for US & Mexico, use "00000" for the ZIP code. For Canada use "L0L 0L0" for the Postal Code. Same field, different input masks. We'll use a little VBA to swap them on the fly.

Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the files from class plus get access to the Code Vault. If you're not a member, Join Today!

Addendum

In the Extended Cut video, I mention that if you use the VBA code in your forms to change the input mask that you would also need to put that code in your reports as well. That's not necessarily true. If you store the input mask characters in the table field with the ;0 parameter, you won't need any additional changes in the report. Just display what's in the table without any formatting.

Input Mask Codes

Use the following codes when creating your input masks, as explained in the video. Remember these are different from the codes you use in the Format property and function.

Links

Learn More

FREE Access Beginner Level 1
FREE Access Quick Start in 30 Minutes
Access Level 2 for just $1

Free Templates

TechHelp Free Templates
Blank Template
Contact Management
Order Entry & Invoicing
More Access Templates

Resources

Mailing List - Get emails when new videos released
Consulting - Need help with your database
Tip Jar - Your tips are graciously accepted

Questions?

Please feel free to post your questions or comments below or post them in the Forums.

Keywords

microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, input mask, Control data entry formats with input masks, Create an Input Mask, setting input masks, Create Input Masks in Access, What is the Input Mask Wizard, Defining Input Masks, How To Create An Input Mask In Access, How to Set an Input Mask, input mask access example, input mask access phone number, input mask codes, input mask characters, input mask zip code

 

Comments for Input Mask
 
Age Subject From
2 yearsInput MaskJames Musick

 

Start a NEW Conversation
 
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
 
Subscribe
Subscribe to Input Mask
Get notifications when this page is updated
 
 
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 11/3/2024 1:54:18 PM. PLT: 1s
Keywords: TechHelp Access input mask, Control data entry formats with input masks, Create an Input Mask, setting input masks, Create Input Masks in Access, What is the Input Mask Wizard, Defining Input Masks, How To Create An Input Mask In Access, How to Set an Inp  PermaLink  Input Mask in Microsoft Access