access-training-courses - input mask
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » access-training-courses - Input Mask

access-training-courses - Input Mask

The UK's most regular instructor-led training courses.
Training information: access-training-courses · Access training · Microsoft Access Training uk
See also · microsoft access training · access vba courses · access database course

resolvedResolved · Low Priority · Version Standard

Input Mask

by - trainer Rajeev gold contributer[462 posts] (2007 Oct 31 Wed, 14:37) replyReply

Hi

I have just put input mask and I get the following:

(999)999-9999;1;"#"

I understand (999)999-9999 BUT What do the ;1 and ;"#" really mean? I DIDN'T PUT THEM THERE!!!

Access VBA 2 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Dec 4 Thu + 5 Fri Southwark 3 book now £475 £495
2003 2009 Jan 8 Thu + 9 Fri Southwark 6 book now £450 £485
2003 2009 Feb 5 Thu + 6 Fri Southwark 8 book now £275 £399
2003 2009 Mar 5 Thu + 6 Fri Southwark 7 book now £345 £399
2003 2009 Apr 8 Wed + 9 Thu Southwark 8 book now £275 £399
2003 2009 May 7 Thu + 8 Fri Southwark 8 book now £275 £399
Full Schedule: See all 12 Access VBA course dates.
Bookings currently available until 5th November 2009.

RE: Input Mask

by - trainer Rajeev gold contributer[462 posts] (2007 Oct 31 Wed, 15:05) replyReply

Hi Rajeev

Input mask is something that many people are not clear on sometimes even having attended the Access training. This is mainly due to all these strange symbols and characters that form a part of the input mask.

There are mainly three sections of an input mask and they are separated by ;

The first section before the first ; is which what defines the mask itself. so in your case if (999)999-9999 was for a telephone number then it will take that appearance.

The reason you chose 9 instead of a 0 is because in some telephone nos. there might not be an entry required.

But if you wanted an entry to be mandatory then you would have used 0 instead of the 9.

similarly if you wanted the user to enter and alphabet character then you would have used L (please remember that this will be mandatory for the user to enter). However if you want you can use ? to allow the user to enter alphabet characters but then the entry is not mandatory!

NOW COMING TO YOUR MAIN QUESTION:
the second section that appears after the second ; is there to tell Access if the literal characters (such as Brackets or parentheses and dashes). 0 will store the characters and 1 will only store the data without the dashes or brackets within your table.

Third section is telling Access what symbol would you like to display before the user starts entering the data. so in your case if it says "#" what the user will see in the data sheet view is (###)###-####

If you wanted the field to remain blank then simply enter ; "" in the third section.

I hope this has helped!!

Thank you

Kindest Regards

Rajeev Rawat


Related articles

· MS Access: Access your Personal Information with Ease
· Microsoft Access 2007: New Features
· Do You Have Trouble Understanding Databases? Consider a One-on-One Access Course
· Quick MS Access Training: Creating Custom Database Tables in 12 Simple Steps
· Microsoft Access and Customer Surveys

Access tip:

Remove spaces in a table

If you have a table that has too many space marks littered around, you can create a update query and use the trim function to get rid of any excess space marks

View all Access hints and tips

Rate this page:
4.0/5 (3 votes cast)
Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information

Training Articles

AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz