Can't find Project or Library

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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".
 
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
 
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).
 
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top