Hi, I'm running the following query on my webpage.asp from my access database.
The variable SetDate is in the following format DD/MM/YYYYCode:SELECT schedules.Date, schedules.Time, schedules.Show FROM schedules WHERE (((schedules.Date)=#" & SetDate & "#))
When I run the query it translates this as M/D/YYYY thus bringing up the wrong date. i.e when SetDate = 02/05/2006 the query is
How do I go about fixing this?Code:SELECT schedules.Date, schedules.Time, schedules.Show FROM schedules WHERE (((schedules.Date)=#5/2/2006#))
Many thanks![]()


Reply With Quote
Bookmarks