Incompatible data types for compare (Error 40014)

An rdoResultset was called with an argument value whose data type is not compatible with the compared column's data type.

To avoid this problem, make sure the value you are using in the comparison matches the data type of the column you are comparing against. Also, this method is valid only when called by a data source control.