G
Guest
Hello,
Can anyone tell me why this occurs?
When I set up a recordset in Access and define the recordset object as:
Private rs As Recordset
I get a "Type mismatch error" on this line:
Set rs = db.OpenRecordset("TableName", dbOpenSnapshot)
To my understanding, this should be correct according to the Microsoft Help
documentation. But I have to change the definition to the following before I
can read through the table.
Private rs As Object
Thanks
Can anyone tell me why this occurs?
When I set up a recordset in Access and define the recordset object as:
Private rs As Recordset
I get a "Type mismatch error" on this line:
Set rs = db.OpenRecordset("TableName", dbOpenSnapshot)
To my understanding, this should be correct according to the Microsoft Help
documentation. But I have to change the definition to the following before I
can read through the table.
Private rs As Object
Thanks