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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report limiting by date/time

Status
Not open for further replies.

Roosters

Technical User
May 14, 2000
61
AU
In a table I have a 'Time_Out' field. This field has a date/time entry "01/01/01 16:00:00". I need to limit a report between two dates (which I have done) but also display only times between 'start_time' and 'end_time" within this data range. I have a user form to get the date range and propose to use the same form to enter the time range.

The query criteria for 'Time_Out' is
>=[forms]![staff]![start] And <=[forms]![staff]![end]

the time fields on my user form are [time_start] and [time_end]

Hope this makes sense!
Thanks Phil.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top