AlokOfAarmax
New member
- Local time
- Yesterday, 20:40
- Joined
- Apr 22, 2013
- Messages
- 5
Hi Friends,
I normally use Excel to connect to 2003 format Access database. Even when i use Microsoft Access 2007 I have been making it a point to save the database in Access 2003 format. I use DAO to connect to the Access databases and have had DAO Object Library 3.6 reference in the IDE.
I have recently had to connect to Access 2007 and after much searching found that I had to install the 2007 Office System Driver: Data Connectivity Components. I did that.
I removed the reference to the DAO 3.6 Object Library but when I add a reference to to Microsoft Office 12.0 Access Database Engine Object Library I find that the following line does no longer complie:
Dim db as DAO.Database
Set db = OpenDatabase(xyz.accdb)
Can someone please guide me as to what is it that I am missing.
Thanks.
Alok
I normally use Excel to connect to 2003 format Access database. Even when i use Microsoft Access 2007 I have been making it a point to save the database in Access 2003 format. I use DAO to connect to the Access databases and have had DAO Object Library 3.6 reference in the IDE.
I have recently had to connect to Access 2007 and after much searching found that I had to install the 2007 Office System Driver: Data Connectivity Components. I did that.
I removed the reference to the DAO 3.6 Object Library but when I add a reference to to Microsoft Office 12.0 Access Database Engine Object Library I find that the following line does no longer complie:
Dim db as DAO.Database
Set db = OpenDatabase(xyz.accdb)
Can someone please guide me as to what is it that I am missing.
Thanks.
Alok