P
pvdalen
Hi all,
This is a little strange. I have the following query:
SELECT Worker.WorkerName, TaskAll.*
FROM Worker RIGHT JOIN TaskAll ON Worker.WorkerID = TaskAll.WorkerID
WHERE (((TaskAll.DateOrdered)<=#9/3/2005#) AND
((TaskAll.DateEntered)>=#9/22/2005#) AND ((TaskAll.Market)="jackson"));
which works just fine. If I change only this part:
<=#9/22/2005#
, which asks for dateEntered less than AND equal to the 22nd, I don't get
the records that match the 22nd.
Can anyone please explain to me why the records for the 22nd are captured in
the "greater than" query but not the "less than" query? Do I have to specify
a time as well as a date?
Thanks,
Paul
This is a little strange. I have the following query:
SELECT Worker.WorkerName, TaskAll.*
FROM Worker RIGHT JOIN TaskAll ON Worker.WorkerID = TaskAll.WorkerID
WHERE (((TaskAll.DateOrdered)<=#9/3/2005#) AND
((TaskAll.DateEntered)>=#9/22/2005#) AND ((TaskAll.Market)="jackson"));
which works just fine. If I change only this part:
to=#9/22/2005#
<=#9/22/2005#
, which asks for dateEntered less than AND equal to the 22nd, I don't get
the records that match the 22nd.
Can anyone please explain to me why the records for the 22nd are captured in
the "greater than" query but not the "less than" query? Do I have to specify
a time as well as a date?
Thanks,
Paul