T
Tom
I am having trouble comparing dates for some reason. Here
is what the WHERE clause looks like in my sql statement:
"WHERE tblStudents.DateEntered >= #" & rDate & "#"
Both fields are stored in the British format (dd/mm/yyyy)
and rDate is a date which is read from a text file. The
query seems to think that 13/09/2003 os greater than
01/10/2003.
I have tried to use the Format(rDate,"dd/mmm/yyyy")
function to be sure the date is returned in British
format and that it sees the month as a month and not a
day, but it comes back the same.
Any ideas?
Thanks in advance.
Tom
is what the WHERE clause looks like in my sql statement:
"WHERE tblStudents.DateEntered >= #" & rDate & "#"
Both fields are stored in the British format (dd/mm/yyyy)
and rDate is a date which is read from a text file. The
query seems to think that 13/09/2003 os greater than
01/10/2003.
I have tried to use the Format(rDate,"dd/mmm/yyyy")
function to be sure the date is returned in British
format and that it sees the month as a month and not a
day, but it comes back the same.
Any ideas?
Thanks in advance.
Tom