R
Ralph Heidecke
Hi:
I've been away from Access programming for a number of years. I have been
trying to open a record set but the code I am using is returning a type 13
"data type mismatch" run time error. The code is in a module attached to the
database. I am using Access 2002 but the file format is Access 2000
the code:
Dim rec As Recordset
Dim db As Database
Dim iRec As Integer
Set db = CurrentDb()
Set rec = db.OpenRecordset("EmpMaster") ' the error occurs here
the database is called stiip.mdb and 'EmpMaster" is a table in stiip.mdb
tia for any assistance.
I've been away from Access programming for a number of years. I have been
trying to open a record set but the code I am using is returning a type 13
"data type mismatch" run time error. The code is in a module attached to the
database. I am using Access 2002 but the file format is Access 2000
the code:
Dim rec As Recordset
Dim db As Database
Dim iRec As Integer
Set db = CurrentDb()
Set rec = db.OpenRecordset("EmpMaster") ' the error occurs here
the database is called stiip.mdb and 'EmpMaster" is a table in stiip.mdb
tia for any assistance.