In Access 2000 there are 2 data object libraries available and database is an object in the DAO library. Make sure you have a reference set to a DAO library. Under tools then references pick the DAO library.
Also, explicitly define the data objects with the library prefix so that DAO objects are deferenciated from ADO objects.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.