Can't find Project or Library

L

Larry White

We have an Access Database on our computer at our Church. We got a new
computer and installed Office 2000 Pro on it. We moved the Database to the
new machine and when we try to print a report we get Can't find Project or
Library. the machine goes into the VB debugger and stops at the statement

Dim MyDB as Database.

Any ideas?

Larry
 
V

Van T. Dinh

Check that the Microsoft Data Access Object (DAO) 3.6 Library is included in
the References of your database and it is not marked as "MISSING".
 
L

Larry White

Van,

I tried what you suggested and when I try to exit is gives me this message:
"Name conflicts with existing module, project or object library".

What would you suggest now?

Thank you so much for taking time to help!

Larry
 
V

Van T. Dinh

Please post the checked / selected References in your database.

It sounds like you might have an old Library selected, could be "??? DAO 2.5
/ 3.5 Compatibility Library" (something like that anyway).
 
T

Ted

i downloaded a database of roger carlson's from his website (called
MultiSelect2k.mdb) and i get this same error! the compiler highlight (yellow)
the "Private Sub cmdOption1_Click()" line and obverses (if there is such a
verb) everything past the "Dim" in "Dim MyDB AS DAO.Database".

i have tried going to "Tools" and selecting "References" but it
("References") is greyed out??!!

can someone help me interpret what that's supposed to signify and what i can
do about that?
 
Top