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

Time stamp calculation Queston 1

Status
Not open for further replies.

Reynet01

Technical User
Apr 27, 2004
59
US
I have a field with a Date/time I would like to build a lookup parameter by that field such so client can enter a number of hours and it show and record that is older than the number of hours entered, such as if the client enters 12 hours it will show all records that are 12 hours or older. Any help would be appreciated.

Rob

 
Try using a record selection formula like:

datediff("h", {table.datetime},currentdatetime) > {?hours}

-LB
 
Thanks That worked Like a Champ!

I appreciate the help

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top