Hi,
It's for the first time that I am in mid of resolving a bunch of complex access queries in resolving which, I have found that the same involve dates being hard-coded.
Since February 2017 I have started generating the monthly reports but most probably inserting such dates in an incorrect format.
For the sake of finding out and resolving the said matter, when I checked a query like:
SELECT #31/12/2017# AS Expr1, #12/31/2017# AS Expr2, #1/12/2017# AS Expr3, #12/1/2017# AS Expr4;
the shocking result I found was:
31/12/2017, 31/12/2017, 12/1/2017, 1/12/2017
In other words the 12/31/2017 automatically switched to 31/12/2017 while the other two remained to be the same!
Why???