G
Guest
The following query worked until today. My date format is ShortDate
(dd/mm/yycc)
The value returned from the table is 01/10/2004 and the value in the textbox
is 01/10/2004.
QryCurRA = "SELECT * From RA Where (RA_System_LU) = 1 And (RA_DateReceived)
= " + "#" + Str(Tbx_RA_DateReceived.Value) + "#" + " And (RA_TimeReceived) =
" + "#" + Str(Tbx_RA_TimeReceived.Value) + "#" + ""
If I run a query and put the date in as 10/01/2004 (10 jan 2004) then is
select the data from the 1st October. When I enter data into my table for the
10/01/2004, it does not select October anymore and my query returns Null.
How do I go about resolving this?
(dd/mm/yycc)
The value returned from the table is 01/10/2004 and the value in the textbox
is 01/10/2004.
QryCurRA = "SELECT * From RA Where (RA_System_LU) = 1 And (RA_DateReceived)
= " + "#" + Str(Tbx_RA_DateReceived.Value) + "#" + " And (RA_TimeReceived) =
" + "#" + Str(Tbx_RA_TimeReceived.Value) + "#" + ""
If I run a query and put the date in as 10/01/2004 (10 jan 2004) then is
select the data from the 1st October. When I enter data into my table for the
10/01/2004, it does not select October anymore and my query returns Null.
How do I go about resolving this?