If you have used now then you probably need to use the following
WHERE [someDate] >= [First Date] AND [someDate] < DateAdd("d",1,[Last Date])
Your problem is that SomeDate field contains a time in addition to the date.
So Feb 28 2010 at 11:00:00 is not between Feb 1, 2010 00:00:00 and Feb 28,
2010 00:00:00.
You could enter the date plus a time in response to the Last Date prompt and
then use Between ... And ... with little problem. Something like the
following would work for 99.999 percent of the cases. It is possible (very
rare) to get a date and time that is between 23:59:59 and 24:00:00.
BETWEEN #2009-02-01# and #2009-02-28 23:59:59#
John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County
Hi all..i have this issue in a newly formated field (date) =Now()..running a
query with parameters between and..does not give me correct results..any
odeas how to cure this issue?
Thanks!
.