I’ve only recently upgraded this box from Access 97 to 2000, and it has caused many more problems than it has solved. Most are solved by setting references, but so far I can’t find the solution. I execute this code:
dim db as database
dim rst as recordset
set db = currentdb
set rst = db.openrecordset(“Donors”, dbOpenDynaset)
I’ve done this so many times in ’97 I can’t count them, but this time it bombs with “Run time error ’13′”, type mismatch.
What the @#!? does this mean? Am I missing a reference? Here are the references I have:
Visual Basic for Applications
Microsoft Access 9.0 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.1 Library
Microsoft DAO 3.6 Object Library
Microsoft Visual Basic for Application Extensibility 5.3
Ideas?