db = currentDB() error

G

Guest

In my forms code I use as usual the following

Dim db as Database
db = CurrentDb( )

This time I got an error:

compile error:
Invalide use of property.

I use Access2000 and of course in the referense is the DAO 3.6 Object
library .

Any ideas please
 
S

StevenM

-----Original Message-----
In my forms code I use as usual the following

Dim db as DAO.Database
db = CurrentDb( )

This time I got an error:

compile error:
Invalide use of property.

I use Access2000 and of course in the referense is the DAO 3.6 Object
library .

Any ideas please
 

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

Top