Proofing lineup order of library references (4 Viewers)

BlueSpruce

Well-known member
Local time
Today, 10:54
Joined
Jul 18, 2025
Messages
1,182
I received several broken 2003 apps that need to be migrated to accdb. I noticed
Code:
Dim rs As Recordset
errors and when I checked the references lineup, ADO was listed first, so I put DAO 3.6 first and it's still throwing error. Then I fully qualified
Code:
Dim rs As DAO.Recordset
and no luck. I checked other code, like
Code:
Dim db As Database
fully qualified it to DAO.Database and still errs. Any idea what's going on here?
 
Last edited:
What exactly is the error and error description?
 
What exactly is the error and error description?

Runtime error '13': Type Mismatch when setting rs = db.OpenRecordset("tblQuotes", dbOpenSnapshot)

I checked DAO 3.6 and it's correctly COM registered.
 
Last edited:

Users who are viewing this thread

Back
Top Bottom