Article ID: 231413 - View products that this article applies to.
This article was previously published under Q231413
Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
If you have not set the appropriate references in Access 2000, you may receive one of the following error messages when you run code that includes an object from a missing reference:
Variable not defined.
Run-time error '5':
Invalid procedure call or argument.
Microsoft Visual Basic
The library which contains this symbol is not referenced by the current project, so the symbol is undefined. Would you like to add a reference to the containing library now?
Compile Error: Can't find project or library.
Your database contains a reference to a database, a type library, or an object library that is marked as MISSING: <referencename> in the References dialog box.
Be sure that you include all required references. To check for and remove missing references:
The references that are selected by default at the time a new Microsoft Access 2000 database is created are as follows:
Steps to Reproduce the Behavior
Article ID: 231413 - Last Review: June 28, 2004 - Revision: 2.0
Contact us for more help