The full ISO 8601 is "yyyy-mm-ddThh:nn:ss", where the T is a litteral, that can be removed "yyyy-mm-dd hh:nn:ss", and then only the time format like this "hh:nn:ss".
also specifies to escape the colons, which is something I haven't done jet.
There's some more general infor on ISO 8601 here
But essentially, using formatting like this when building dynamic sql, concatenating date/time into the string, should make your apps safe around the world ;-)
Next step, is what happens with decimal numbers in regions using comma as decimalseparator ;-)
- just before hitting submit - are you storing date/time as text?
The CDate function within the string, will probably convert the string to a valid time, if possible, but wouldn't it do so per each row before the comparision can be performed?
When using date/time fields, one should be able to just pass valid time, and no conversion should be necessary (with the exception of formatting the criteria once when concatenating them into the string).
The date you present, is that to illustrate the point? I'd guess that could very well be the result of
[tt]strWhere = "[DateStart] = #" & date & "# ...[/tt]
with UK settings and todays date, which Jet would probably interpret as 4th December 2006 ;-)
Roy-Vidar