Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time parameter query not working

Status
Not open for further replies.

juliesmomma

Technical User
Jun 3, 2002
36
0
0
US
I have up a query to pull records between 7p - 7a (nursing shift with a date range. The one I wrote for 7a - 7p is working fine.

On the Time field this is my criteria:
>=#7:00:00 PM# and <=#7:00:00 AM#

Why isn't this one working? I used this same criteria for the other query just opposite times.

Thanks for your help!
 
maybe you should try
>=#7:00:00 PM# and <=#12:00:00 PM#
and >=#00:00:00 AM# and <=#7:00:00 AM#

 
Nevermind. I think I figured out what I was doing wrong.
Thanks anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top