S
Steven Scaife
I have the follwoing sql query that i am running through my VBA code but it
returns no results even tho its right
SELECT Time_Of_Appointment, Postcode FROM Appointment WHERE (Agent_ID = 20)
AND (Date_Of_Travel = #5/11/2004#)
When i paste this into the SQL screen and view it it returns no results when
i go back to design view its changed the criteria to
#11/05/2004#
It was originally using the us date when i viewed it in object browser so i
rebuilt the date using day()month()year() to get the date i needed
Any one have any ideas
in ASP i would set the locale is there a similar thing in Access, i thought
it would just use the system locale which is set to UK, but obviously not
thanks
returns no results even tho its right
SELECT Time_Of_Appointment, Postcode FROM Appointment WHERE (Agent_ID = 20)
AND (Date_Of_Travel = #5/11/2004#)
When i paste this into the SQL screen and view it it returns no results when
i go back to design view its changed the criteria to
#11/05/2004#
It was originally using the us date when i viewed it in object browser so i
rebuilt the date using day()month()year() to get the date i needed
Any one have any ideas
in ASP i would set the locale is there a similar thing in Access, i thought
it would just use the system locale which is set to UK, but obviously not
thanks