- Local time
- Today, 12:10
- Joined
- Sep 12, 2006
- Messages
- 15,987
I converted a complex mdb to an accdb and it produced these references.
As a result, all references to DAO objects started to fail, so I presume this order of references uses ADO before DAO.
I have changed all the declarations from say dim db as database to dim db as DAO.database, and it now builds and seems to run, but I may have missed a few other datatypes that might be affected.
Can anyone confirm how I need to amend the references - either remove some, or change the order etc, so it resolves DAO first by default.
Actually now I see the above screen shot, I moved the ActiveX Data Objects library down to the bottom. I can't remove it completely as there is some ADODb code to read lats and longs. Is that all I needed to do?
As a result, all references to DAO objects started to fail, so I presume this order of references uses ADO before DAO.
I have changed all the declarations from say dim db as database to dim db as DAO.database, and it now builds and seems to run, but I may have missed a few other datatypes that might be affected.
Can anyone confirm how I need to amend the references - either remove some, or change the order etc, so it resolves DAO first by default.
Actually now I see the above screen shot, I moved the ActiveX Data Objects library down to the bottom. I can't remove it completely as there is some ADODb code to read lats and longs. Is that all I needed to do?