J
Jean-Paul De Winter
Hi,
I have a table with a field called "Datum"
Here the date of records are stored in format DD/MM/YYYY
In my code I wrote:
Dim Starten as Date
Dim SQL as string
then in the code itself I wrote:
sql = "SELECT Agenda.datum FROM agenda WHERE Agenda.datum=#" & starten "#;"
This returns
SELECT Agenda.datum FROM agenda WHERE Agenda.datum=#5/12/2005#;
No record is found because finally access seems to look for dates in the
format MM/DD/YYY
What to do?
Thanks
I have a table with a field called "Datum"
Here the date of records are stored in format DD/MM/YYYY
In my code I wrote:
Dim Starten as Date
Dim SQL as string
then in the code itself I wrote:
sql = "SELECT Agenda.datum FROM agenda WHERE Agenda.datum=#" & starten "#;"
This returns
SELECT Agenda.datum FROM agenda WHERE Agenda.datum=#5/12/2005#;
No record is found because finally access seems to look for dates in the
format MM/DD/YYY
What to do?
Thanks