cjLiteStep
Technical User
holy cow!
i finally get to declare a database as a database (thanks) and follow examples to a "T" i think and i get a "type mismatch" error that i just don't see
here is the code:
Dim DB As Database, RS As Recordset, strTableName As _ String
strTableName = "tblCourseReg"
Set DB = CurrentDb
Set RS = DB.OpenRecordset("tblCourseReg", dbOpenTable)
tblCourseReg is a valid table (and not a linked table)that has an ID autonumber field and about 6 others
the error occurs when executing .. Set RS = DB.Openre ...
thanks again for any guidance
cj
i finally get to declare a database as a database (thanks) and follow examples to a "T" i think and i get a "type mismatch" error that i just don't see
here is the code:
Dim DB As Database, RS As Recordset, strTableName As _ String
strTableName = "tblCourseReg"
Set DB = CurrentDb
Set RS = DB.OpenRecordset("tblCourseReg", dbOpenTable)
tblCourseReg is a valid table (and not a linked table)that has an ID autonumber field and about 6 others
the error occurs when executing .. Set RS = DB.Openre ...
thanks again for any guidance
cj