I have been using a database in acc97 for some time now, that uses DAO to manipulate records in a table. I recently upgraded to Ac2000. Realising that ac2000 doesn't support DAO by default, I set the DAO 3.6 object library reference by ticking it in VBA references.
Each time I run a particular routine I get a run time error "type mismatch 13" at the second line below:
Set db = CurrentDb
Set rs = db.OpenRecordset("tblResults"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Note tblResults is a valid table and exists. Can anyone help me understand why this is occuring?
Any help appreciated
Each time I run a particular routine I get a run time error "type mismatch 13" at the second line below:
Set db = CurrentDb
Set rs = db.OpenRecordset("tblResults"
Note tblResults is a valid table and exists. Can anyone help me understand why this is occuring?
Any help appreciated