Valid input mask characters
Microsoft Access interprets characters in the InputMask property definition as shown in the following table. To define a literal character, enter any character other than those shown in the table, including spaces and symbols. To define one of the following characters as a literal character, precede that character with a backslash (\).
||Digit (0 through 9, entry required; plus [+] and minus [-] signs not allowed).
||Digit or space (entry not required; plus and minus signs not allowed).
||Digit or space (entry not required; blank positions converted to spaces, plus and minus signs allowed).
||Letter (A through Z, entry required).
||Letter (A through Z, entry optional).
||Letter or digit (entry required).
||Letter or digit (entry optional).
||Any character or a space (entry required).
||Any character or a space (entry optional).
|. , : ; - /
||Decimal placeholder and thousands, date, and time separators. (The actual character used depends on the regional settings specified in Microsoft Windows Control Panel.)
||Causes all characters that follow to be converted to lowercase.
||Causes all characters that follow to be converted to uppercase.
||Causes the input mask (input mask: A format that consists of literal display characters (such as parentheses, periods, and hyphens) and mask characters that specify where data is to be entered as well as what kind of data and how many characters are allowed.) to display from right to left, rather than from left to right. Characters typed into the mask always fill it from left to right. You can include the exclamation point anywhere in the input mask.
||Causes the character that follows to be displayed as a literal character. Used to display any of the characters listed in this table as literal characters (for example, \A is displayed as just A).
||Setting the InputMask property to the word Password creates a password entry text box. Any character typed in the text box is stored as the character but is displayed as an asterisk (*).
Input mask examples