djpingpong
Programmer
- Jul 6, 2004
- 70
Hi,
I'm working on MS Access connected to db2 tables thru ODBC
Most of the times, I'm workin on Access tables and I create a query like this:
The query works fine in Access with its local data tables. I get a result set of all the earning records prior to 1974-May-1 .... however, I'm now working on a client project that still uses Access frontend, but connects to DB2 tables... I run the same query and it's giving me a ODBC - call failed error
"The data types of the operands for the operation '<' are not compatible, SQLSTATE = 42818 (#-401)"
Any suggestions?? Need to get this working... it was suppose to be an easy task
cheers
I'm working on MS Access connected to db2 tables thru ODBC
Most of the times, I'm workin on Access tables and I create a query like this:
Code:
SELECT * FROM tblEarnings WHERE earnEffectiveDate < #5/1/1974#
The query works fine in Access with its local data tables. I get a result set of all the earning records prior to 1974-May-1 .... however, I'm now working on a client project that still uses Access frontend, but connects to DB2 tables... I run the same query and it's giving me a ODBC - call failed error
"The data types of the operands for the operation '<' are not compatible, SQLSTATE = 42818 (#-401)"
Any suggestions?? Need to get this working... it was suppose to be an easy task
cheers