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

Need Help on Parameter.Please.......

Status
Not open for further replies.

ecugrad

MIS
Apr 17, 2001
191
US
I have a StartTime and an EndTime Field both are DateTime data types. I have set-up a parameter using both. We have two shifts at work one that runs from 6:00am to 6:00pm and one that goes to 6:00pm to 12:00am. I want to report only on the 6:00am to 6:00pm shift. How do I set it up only to capture the times I'm looking for?

Thanks
 
Hi,

Add something like the following to the record selection formula...

Time({DateTimefield}) >= time(06,00,00) and
Time({DateTimeField)) < time(18,00,00)

Geoff
 
Try this.
Click Format Section-->suppress button, and then put this code there.

StartTime= 6:pm and EndTime = 12:am

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top