ACC97: Errors Caused by Strong Typing in Microsoft Access 97 (166712)
The information in this article applies to:
This article was previously published under Q166712 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
In Microsoft Access 97, you may receive one of the following error
messages when you try to set or use some form and report properties
in your database:
Run-time error '13': Type mismatch
-or-
Run-time error '94': Invalid use of Null
NOTE: The same action that causes the error message in Microsoft Access 97
may not produce an error in earlier versions of Microsoft Access.
CAUSE
Some properties that returned values of Variant data type in earlier
versions of Microsoft Access are strictly typed as non-Variant data types
in Microsoft Access 97.
RESOLUTION
Verify that no errors exist in your application by doing the following:
- Compile and save all modules in your database.
- Check for run-time errors when you run your code.
STATUS
This behavior is by design.
REFERENCES
For more information about strict typing, search the Help Index for "Type
Mismatch (error message)."
For more information about data types, search the Help Index for "data
types, described."
For more information about this and other issues related to converting
databases from earlier versions of Microsoft Access, please see the
following article in the Microsoft Knowledge Base for instructions on
obtaining the Microsoft Access 97 Conversion white paper:
151193 ACC97: MS Access 97 Conversion White Paper Available in Download Center
Modification Type: | Major | Last Reviewed: | 9/25/2003 |
---|
Keywords: | kbprb KB166712 |
---|
|