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!

Date/Time Range selection

Status
Not open for further replies.

INPHOman

Programmer
Aug 18, 2000
2
0
0
US
How would I code the formula to look for records that fall in a date/time range. My report runs daily and needs to show all records that have been entered from 6:00 am previous day through 6:00 am current day.
 
Use the formula below to set all records to create a reporting date for each record. Then you can have the report select on records that fall within the reporting date range.

Formula:
ReportingDate
If Hour{RecordDateTime} < 6
Then Date{RecordDateTime} - 1
Else {RecordDateTime}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top