The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
RESOLUTIONMake sure that the Val() function does not attempt to evaluate a field that contains a null value. Or, if you are not sure, add error trapping to your code to trap for this scenario. MORE INFORMATIONThe Val() function is designed to return the numeric value of a string. When the Val() function attempts to return the numeric value of null, an expression evaluation error occurs. Null is a Variant subtype used to indicate that a data item contains no valid data. Because the Val() function requires valid data, it cannot evaluate a null value. STATUSThis behavior is by design. REFERENCESFor more information about the Val() function, search for "Val," and then "Val Function" using the Microsoft Access Help Index.
Keywords : kberrmsg kbprg |
Last Reviewed: March 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |