ACC2000: How to Replace the Default Input Mask Error Message (210343)
The information in this article applies to:
This article was previously published under Q210343 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SUMMARY
This article shows you how to substitute your own custom message for the generic error message that occurs when you violate an input mask on a form. The generic error message for input mask violation is:
The value you entered isn't appropriate for the input mask '!\(999") "000\-0000;;_' specified for this field.
REFERENCESFor more information about On Error event procedures, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type error event - event procedures in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about the Screen object, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type screen object in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdta kbhowto kbofficeprog kbProgramming kbusage KbVBA KB210343 |
---|
|