no database reference

DewMan

Registered User.
Local time
Today, 17:59
Joined
May 16, 2003
Messages
15
I get an error when I try to ....
DIM as Database

Am I missing a library file??
 
If you're using Access 2000 or higher, DAO is not the default data access language, ADO is. The Database object is a DAO object.

In the VB editor, go to the Tools menu and choose References. Chances are Microsoft ActiveX Data Object is checked and Microsoft DAO 3.x is not checked. Uncheck the ADO reference if you don't need it, and check the DAO. Then try your code.
 
OK Thanks a lot.. I just recently uped to 2k so I will probably\be getting DAO ADO mixed up a lot.
 

Users who are viewing this thread

Back
Top Bottom