ACC: Input Mask Character (!) Does Not Work as Expected (114880)
The information in this article applies to:
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q114880 Novice: Requires knowledge of the user interface on single-user computers.
SYMPTOMS
When you use the exclamation point character (!) in an input mask, the
characters do not fill from right to left as you type them. Instead, the
characters fill from left to right.
For example, when you type numbers into the following phone number input
mask created by the Input Mask Wizard
!\(999") "000\-0000;;_
characters fill from left to right as you type them.
CAUSE
The exclamation point character does not affect how characters fill into
the input mask when you type them. Characters typed into the input mask
always fill from left to right. The exclamation point character determines
how committed (or existing data) is displayed in the input mask.
For example, if you type the number 5550248 into the following input mask
examples, the characters fill from left to right as you type them. However,
when you press ENTER to accept the data, the results are displayed as
follows:
Input Mask Result
-------------------------------------------
!\(999") "999\-9999;;_ ( ) 555-0248
\(999") "999\-9999;;_ (555) 024-8
NOTE: This example differs from the input mask created by the Input Mask
Wizard because not all the characters in the input mask are required.
STATUS
This behavior is by design.
REFERENCES
For more information about Input Masks, type "input masks" in the Office
Assistant, click Search, and then click to view "Examples of input masks."
Modification Type: | Major | Last Reviewed: | 5/6/2003 |
---|
Keywords: | kbprb kbusage KB114880 |
---|
|