In the VB editor, choose Tools|References from the menu. Uncheck the Microsoft Access Data Objects 2.1 Library entry, then scroll down and check the Microsoft DAO 3.6 Object Library entry.
The Database object is part of the DAO object model. Access Data Objects (ADO) is an alternative object model that's new with A2K. For some reason, Microsoft decided that ADO should be the default, so it's included in all new databases, while DAO is left out. Rick Sprague
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.