ACC: Input Mask Character (!) Does Not Work as ExpectedID: Q114880
|
Novice: Requires knowledge of the user interface on single-user computers.
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;;_
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
This behavior is by design.
If you type the number 5550248 into the following input mask created by the
Input Mask Wizard
!\(999") "000\-0000;;_
The value you entered isn't appropriate for the input mask '!\(999") "000\-0000;;_' specified for this field.
The value you entered isn't appropriate for the input mask '!\(999") "000\-0000;;_' specified for this field. Press Esc to cancel your changes.
Input Mask: !\(999") "999\-9999;;_
Validation Rule: Like "#######" Or Like "##########"
Validation Text: You must enter a 7- or 10-digit phone number
For more information about Input Masks, type "input masks" in the Office Assistant, click Search, and then click to view "Examples of input masks."
Keywords : kbusage GnlInpt
Version : 2.0 7.0 97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 3, 1999