The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
-or-
CAUSEIf a field's data type is explicitly defined as any type other than Variant, Microsoft Access is unable to compare the variable to a Null. RESOLUTIONDefine the variable as a Variant, which includes the Date/Time, Floating- point Number, and String data types. MORE INFORMATION
This article assumes that you are familiar with Visual Basic for
Applications and with creating Microsoft Access applications using the
programming tools provided with Microsoft Access. For more information
about Visual Basic for Applications, please refer to your version of the
"Building Applications with Microsoft Access" manual.
To prevent the error "Invalid Use of Null!" or "#Error" when the field is
null, define the variable, MyValue, in the custom IsFieldNull() function as
a Variant, as follows:
Additional query words: pounderror
Keywords : kberrmsg kbprg |
Last Reviewed: October 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |