ACC: ValidationRule Parses Function Name w/o Parens to StringLast reviewed: May 28, 1997Article ID: Q97512 |
The information in this article applies to:
SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers. When you type an expression containing a function name that has no parentheses or parameters in the ValidationRule property of a text box, the expression is evaluated as a string instead of a function.
RESOLUTIONPut parentheses or parameters after all function names so that they can be correctly evaluated as functions instead of text strings. For example, use
=Date()instead of:
=DateNOTE: For this example to work correctly, after putting parentheses after =Date, you also need to change the Format property of the text box to General Date.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor more information about creating functions, search the Help Index for "functions," and then "creating," or ask the Microsoft Access 97 Office Assistant.
|
Additional query words: validation
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |