You may receive the "Microsoft Access can't find the project or library" error message when you compile an Access 2000 database that has been converted to an Access 97 database (241709)
The information in this article applies to:
- Microsoft Access 97
- Microsoft Access 2000
This article was previously published under Q241709 Novice: Requires knowledge of the user interface on single-user computers.
SYMPTOMSWhen you compile a Microsoft Access 2000 database that has been converted to a Microsoft Access 97 database, you may receive the following error message:
Microsoft Access can't find the project or library
Note This behavior does not occur on a computer that has both Access 97 and Access 2000 installed. CAUSE
This behavior occurs if any reference in the newly converted Access 97 database is listed as missing. For example, when an Access 2000 database that is using the Microsoft DAO 3.6 library is converted back to Access 97, the Microsoft DAO 3.6 library reference is retained in the converted database. If this database is then compiled on a computer that only has Microsoft Office 97 or Access 97 installed, you receive the error message.
RESOLUTION
To work around this behavior, follow these steps:
- Open the converted database in Microsoft Access 97.
- Open a new or existing module in Design view.
- On the Tools menu, click References.
- Click to clear the check box for the reference marked as MISSING, and then click OK.
NOTE: If the reference marked as MISSING is a reference to the Microsoft DAO 3.6 Object Library, you must set a reference to the Microsoft DAO 3.5 or 3.51 Object Library in order for your code to compile successfully after you remove the missing reference.
If you cannot find an object library equivalent to the one that is missing, you may need to change the code.
Modification Type: | Major | Last Reviewed: | 11/19/2004 |
---|
Keywords: | kberrmsg kbprb KB241709 |
---|
|