J
Julia Boswell
Folks,
I'm getting a runtime error 13 "datatype mismatch" when running a bit of
code. I'm looping through a recordset (ADODB), and comparing it with another
recordset to find a record. The line where I'm getting the problem is:
rsTest.Find ("[TestNo] = '" + rsTemp!TestNo + "'")
Both recordsets have been opened, I've ensured that I'm at the beginning of
rsTest before this, and both fields TestNo are of type Autonumber, so I
can't work out what the problem is.
I can't see how it can be syntax, as I have an identical line of code in
another form in the same db looking at 2 different fields and this works
fine.
Any ideas?
Much appreciated.
Julia
I'm getting a runtime error 13 "datatype mismatch" when running a bit of
code. I'm looping through a recordset (ADODB), and comparing it with another
recordset to find a record. The line where I'm getting the problem is:
rsTest.Find ("[TestNo] = '" + rsTemp!TestNo + "'")
Both recordsets have been opened, I've ensured that I'm at the beginning of
rsTest before this, and both fields TestNo are of type Autonumber, so I
can't work out what the problem is.
I can't see how it can be syntax, as I have an identical line of code in
another form in the same db looking at 2 different fields and this works
fine.
Any ideas?
Much appreciated.
Julia