a query to search time and date

L

Lost

I need to have a user defined query where the user will pick two date for a
search for between (date 1) and (date 2) but only put out information for
date with the time between 11:30am and 5:00pm.

The search is in a general date field named open time.

Thank You Very Much in advanced.
 
K

KARL DEWEY

In design view use two fields --
[open time] with criteria Between [Enter start date - m/d/yyyy] AND [Enter
end date - m/d/yyyy]
Calculated field --
TimeOfOpen: ([open time])-Int([open time])
with criteria on same row as for date --
Between #11:30 am# AND #5:00 pm#
 
L

Lost

Thank You very Much

Worked Perfectly


KARL DEWEY said:
In design view use two fields --
[open time] with criteria Between [Enter start date - m/d/yyyy] AND [Enter
end date - m/d/yyyy]
Calculated field --
TimeOfOpen: ([open time])-Int([open time])
with criteria on same row as for date --
Between #11:30 am# AND #5:00 pm#

--
KARL DEWEY
Build a little - Test a little


Lost said:
I need to have a user defined query where the user will pick two date for a
search for between (date 1) and (date 2) but only put out information for
date with the time between 11:30am and 5:00pm.

The search is in a general date field named open time.

Thank You Very Much in advanced.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top