ACC2000: VBA Functions Break in Database with Missing References
This article was previously published under Q208218 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp). For a Microsoft Access 97 version of this article, see 160870 (http://support.microsoft.com/kb/160870/EN-US/). For a Microsoft Access 2002 version of this article, see 283806 (http://support.microsoft.com/kb/283806/EN-US/). On This PageSYMPTOMS
If you have a procedure that contains a Visual Basic for Applications
function, and your database contains a reference to a missing object
library or type library, you may receive the following error message when
you compile your modules or run the procedure:
Compile Error: Can't find project or library CAUSE
Your database contains a reference to a database, type library, or object
library that is marked as MISSING: <referencename> in the References dialog box.
RESOLUTION
To remove the missing reference, follow these steps:
NOTE: In an Access run-time application, you cannot view references from a menu. However, the following article demonstrates how to view references by using code: 209849 (http://support.microsoft.com/kb/209849/EN-US/) ACC2000: How to Loop Through References to View Their Properties
MORE INFORMATIONSteps to Reproduce Behavior
APPLIES TO
| Article Translations
|
Back to the top
