Using Access 2000 a recordset using a SQL statemtent similar to "Select * From tableA Where aDATE = #" & myDATE & "#"
will work on one machine, but give a "type mismatch" error on another machine.
I've changed the statement to read, "Select * From tableA Where CStr(Format(aDATE,'yyyymmdd')) ='" & CStr(Format(myDATE,'yyyymmdd')) & "'"
Once again on the same machines one works and one doesn't.
Any ideas, workarounds, would be appreciated.
will work on one machine, but give a "type mismatch" error on another machine.
I've changed the statement to read, "Select * From tableA Where CStr(Format(aDATE,'yyyymmdd')) ='" & CStr(Format(myDATE,'yyyymmdd')) & "'"
Once again on the same machines one works and one doesn't.
Any ideas, workarounds, would be appreciated.