I've recently returned to Access programming, having last worked
extensively in Access 97. I'm now using Access 2002. I am trying to
reuse some old code (from A97 days) and am having some troubles. The
following snippet no longer works in A2002.
Line 01 Dim rst As Recordset
Line 02 Dim db As Database
Line 03 set db = CurrentDb()
Line 04 set rst = db.OpenRecordset(TableName", dbOpenDynaset)
The code is returning a 'Run-time Error 13, Type Mismatch' Error on
line 04.
Any help would be greatly appreciated.
Scott
P.S. I did turn on DAO 3.6 in Tools|References