ACC2000: ValidationRule Property Parses Function Names Without Parentheses as Strings (209603)
The information in this article applies to:
This article was previously published under Q209603 Novice: Requires knowledge of the user interface on single-user computers.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
When you type an expression in the ValidationRule property of a text box, and the expression contains a function name that has no parentheses or
parameters, Microsoft Access evaluates the expression as a string instead
of a function.
RESOLUTION
Put parentheses or parameters after all function names so that they can
be correctly evaluated as functions instead of text strings. For example,
use
REFERENCESFor more information about the ValidationRule property, click Microsoft Access Help on the
Help menu, type validationrule, validationtext properties in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kbprb kbusage KB209603 |
---|
|