S
ShadrakUK
I have a very simple query looking for a date in a file, I ran it and it
worked, I then cut and pasted the SQL into my VBA code (turning it into a
string etc.) and it didn't work. I then noticed the date in the SQL was
wrong, so I went back to the original query and I noticed something odd.
In design view the Criteria testing for the date shows as #01/03/2008# but
when I switch to SQL view it shows as #3/1/2008# (day and month swaped). I
checked my PC setup and it's all set to English UK I also tried the same
query on my work PC and it did the same.
Anyone have any idea why this is the case?
worked, I then cut and pasted the SQL into my VBA code (turning it into a
string etc.) and it didn't work. I then noticed the date in the SQL was
wrong, so I went back to the original query and I noticed something odd.
In design view the Criteria testing for the date shows as #01/03/2008# but
when I switch to SQL view it shows as #3/1/2008# (day and month swaped). I
checked my PC setup and it's all set to English UK I also tried the same
query on my work PC and it did the same.
Anyone have any idea why this is the case?