R
Robert Chapman
Can't understand why the following is producing a type
mismatch error (error 13). Never had any problem with
this, should be very simple. All I have in my database is
the module of code and the table
called "SuppressionData". It finds the table (otherwise
there would be a table not identified error) so what is
the problem here?? I've tried all the variations
(dbOpenTable, etc) but they shouldn't make any difference
anyway. Code below - the "Set rs = ..." line is what
geenrates the error.
TIA,
Rob
Sub AddSuppressionData()
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb()
Set rs = db.OpenRecordset("SuppressionData")
etc...
mismatch error (error 13). Never had any problem with
this, should be very simple. All I have in my database is
the module of code and the table
called "SuppressionData". It finds the table (otherwise
there would be a table not identified error) so what is
the problem here?? I've tried all the variations
(dbOpenTable, etc) but they shouldn't make any difference
anyway. Code below - the "Set rs = ..." line is what
geenrates the error.
TIA,
Rob
Sub AddSuppressionData()
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb()
Set rs = db.OpenRecordset("SuppressionData")
etc...