PRA: "#" Character in Input Mask Causes Unexpected BehaviorArticle ID: Q116385Creation Date: 20-JUN-1994 Revision Date: 19-SEP-1996
The information in this article applies to:
SYMPTOMS
Novice: Requires knowledge of the user interface on single-user computers.
When you enter data in a text field that uses the "#" character as part of
an input mask, spaces that you enter with the LEFT ARROW and RIGHT ARROW
keys may not be converted properly when the record is saved.
RESOLUTION
There are two workarounds for this behavior:
###" Next Number"###" End" you can cause Microsoft Access to save the field as it is displayed by changing the input mask to:
###" Next Number"###" End";0 Note that if you use this method, Microsoft Access stores the literal display characters in the table when you enter data.
Microsoft has confirmed this to be a problem in Microsoft Access version 2.0 and 7.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Problem
###" Next Number"###" End" field. Press the RIGHT ARROW key twice to move the next entry position, and then type "1" (without the quotation marks) in the second entry position.
REFERENCES For more information about the InputMask property, search for "InputMask," and then "InputMask Property" using the Microsoft Access Help menu. |
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.