J
jeff
hi gurus!
I struggle with this one repeatedly!
I am an Australian and our date format is normally "dd/mm/yyyy" ie
10/12/2007 is the 10th of December 2007 and not the 12th of October 2007.
The current situation I have is:-
ScheduledDates stored against courses in an Access Table
A form with a Date field (normal format is dd/mm/yyyy)
I want to do a comparison in VB SQL as follows:-
"....WHERE ScheduledDate >= #" & me.formcontrolDate & "# ..."
what I am getting is failing due to the fact that the ScheduledDate from the
table is being returned as 10/12/2007 (ie dd/mm/yyyy) but the # date #
interprets the 10/12/2007 in the form control as 12/10/2007.
Is there a surefire method of ALWAYS comparing date data whether from Access
Tables, SQL Server Tables, Access Date Controls and regardless of
international settings?
cheers
Jeff
I struggle with this one repeatedly!
I am an Australian and our date format is normally "dd/mm/yyyy" ie
10/12/2007 is the 10th of December 2007 and not the 12th of October 2007.
The current situation I have is:-
ScheduledDates stored against courses in an Access Table
A form with a Date field (normal format is dd/mm/yyyy)
I want to do a comparison in VB SQL as follows:-
"....WHERE ScheduledDate >= #" & me.formcontrolDate & "# ..."
what I am getting is failing due to the fact that the ScheduledDate from the
table is being returned as 10/12/2007 (ie dd/mm/yyyy) but the # date #
interprets the 10/12/2007 in the form control as 12/10/2007.
Is there a surefire method of ALWAYS comparing date data whether from Access
Tables, SQL Server Tables, Access Date Controls and regardless of
international settings?
cheers
Jeff