Rikshapa
October 31st, 2004, 09:04 PM
Hi All,
I'm getting strange results when querying dates with SQL using DAO with Jet 3.5
SQL like: SELECT * FROM [Invoices] WHERE [Date]>=#02/10/2004# AND [Date]<=#01/11/2004#, gives good results when the system date format is set to MM/dd/yyyy but fails when setting the format to dd/MM/yyyy.
the dates in the query are changing dynamically to fit the system formats (02/10/2004 changes to 10/02/2004 etc...) so the query should work in both cases but it seems like the Jet 3.5 engine is not sensitive to locale settings ???
Any clue ?
thanks,
Rikshapa.
I'm getting strange results when querying dates with SQL using DAO with Jet 3.5
SQL like: SELECT * FROM [Invoices] WHERE [Date]>=#02/10/2004# AND [Date]<=#01/11/2004#, gives good results when the system date format is set to MM/dd/yyyy but fails when setting the format to dd/MM/yyyy.
the dates in the query are changing dynamically to fit the system formats (02/10/2004 changes to 10/02/2004 etc...) so the query should work in both cases but it seems like the Jet 3.5 engine is not sensitive to locale settings ???
Any clue ?
thanks,
Rikshapa.