Date Range Help

JJT

Registered User.
Local time
Today, 11:47
Joined
Jan 5, 2001
Messages
47
Help......I have a query where I need to select records within a date range:

Equal to or Greater Than 8/1/2002 and
Less Than or Equal to 7/31/2003.

I tried " >=#8/1/2002# and <=7/31/2003", but get all the records in the table.


Thanks
 
I think I see the problem and I'll give you a hint.

If you asked for all numbers >1 and all numbers <3 you would basically get infinity. :D

Try using the Between keyword.
 
Thanks. The "between" function worked. Another question!
In the same query I also need the records where the "code" is TO or PR or GA.
 
Try:
In ("TO","PR","GA")
in the criteria line of the code field.
 

Users who are viewing this thread

Back
Top Bottom