G
GuildBoss
Been programming Access 97 for years on a Win98 machine but now I have
a new XP machine, installed Access 2002, and now I'm running into some
really baffling little errors. For example, why in the world would
this:
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb
Set rs = db.OpenRecordset("tblTest", dbOpenDynaset)
result in a type mismatch (on the OpenRecordset line)? This is
baffling. I've done this a thousand times on the old machine...
BTW, I have referenced DAO 3.6 and the code compiles fine. tblTest is
a local table.
Any ideas? What ridiculously minor detail am I overlooking?!
TIA
Paul
a new XP machine, installed Access 2002, and now I'm running into some
really baffling little errors. For example, why in the world would
this:
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb
Set rs = db.OpenRecordset("tblTest", dbOpenDynaset)
result in a type mismatch (on the OpenRecordset line)? This is
baffling. I've done this a thousand times on the old machine...
BTW, I have referenced DAO 3.6 and the code compiles fine. tblTest is
a local table.
Any ideas? What ridiculously minor detail am I overlooking?!
TIA
Paul