TooMuchFun
Programmer
In VB6, when performing this query
"Select Count(timelogged) as LastModified from COAuditLog WHERE timelogged>10/2/2008 AND tablename='customer'"
The above statement produces this error.
"[Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface]Incompatible types in predicate."
By removing the date component of the query, no error
is produced. Any help with forming a correct date
query would be appreciated.
this works
"Select Count(timelogged) as LastModified from COAuditLog WHERE tablename='customer'"
Regards,
"Select Count(timelogged) as LastModified from COAuditLog WHERE timelogged>10/2/2008 AND tablename='customer'"
The above statement produces this error.
"[Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface]Incompatible types in predicate."
By removing the date component of the query, no error
is produced. Any help with forming a correct date
query would be appreciated.
this works
"Select Count(timelogged) as LastModified from COAuditLog WHERE tablename='customer'"
Regards,