scroots
12-25-2002, 07:52 PM
i have the line
strSQL = "SELECT * FROM tblstuff WHERE tblstuff.ID = '" & freddy & "' AND tblstuff.thready = '1'"
and it produces the following error
Microsoft OLE DB Provider for ODBC Drivers error '80040e07'
[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
any ideas of the solution/problem?
scroots
strSQL = "SELECT * FROM tblstuff WHERE tblstuff.ID = '" & freddy & "' AND tblstuff.thready = '1'"
and it produces the following error
Microsoft OLE DB Provider for ODBC Drivers error '80040e07'
[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
any ideas of the solution/problem?
scroots