What are you doing with those variables after you declare them? I would suspect that you are trying to use them in a way that is supported by DAO Library. Which since A2K ADO is the default Library. You need to check your references and see if you have a DAO library checked, if not check it. Now that you have it checked it's priority may be beneath that of the ADO so you would need to do this when you are defining your variable
Dim cdb As DAO.Database
Or you could set the DAO library priority to be higher that the ADO then you could The way you have already done.
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.