P
Paul W
I have a table that stores times in a datetime field, eg." 7:00 am". On my
XP machine (access 2003 sp1), if I do a query for "where starttime = #7:00
am#" I get records returned. If I do the same on another Windows 2003
(access 2003 no SP) machine, with the exact same table, I get no records! If
I calculate the difference between 'starttime' and #7:00 am# I get a very
small number (~10E-17).
I know that you can expect 'rounding' errors to cause problems when doing
calcs/comparisons on datetimes because they are stored as decimals. But I
would expect the behavior to be consistent across machines.
Anybody know what's going on here?
Paul.
XP machine (access 2003 sp1), if I do a query for "where starttime = #7:00
am#" I get records returned. If I do the same on another Windows 2003
(access 2003 no SP) machine, with the exact same table, I get no records! If
I calculate the difference between 'starttime' and #7:00 am# I get a very
small number (~10E-17).
I know that you can expect 'rounding' errors to cause problems when doing
calcs/comparisons on datetimes because they are stored as decimals. But I
would expect the behavior to be consistent across machines.
Anybody know what's going on here?
Paul.