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

searching for today with specific time to today+1 with specific time

Status
Not open for further replies.

pharmIS

Technical User
Jun 29, 2011
3
US
I am brand new to crystal reports, and have to modify someone elses, we have converted to a new database and timedate is now one field.

I need to find records with todays date through tomorrows date with a specific time

example today @15:00 to tomorrow @1459 how do I do this,.

I am a pharmacist and not a programmer! thanks
 
Will the time always be the same?

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.
 
yes the search is from 15:00 to 14:59 from today to tomorrow (looking for future orders in a system)!

thanks
 
You're going to create two formulas:

{@StartDate}
CurrentDate + TimeValue(15, 0, 0)

{@EndDate}
CurrentDate + 1 + TimeValue(14, 59, 59)

You will have to edit the selection formula in the Select Expert to be able to use these formulas in your record selection critera.

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.
 
thanks! looks awesome! this board is great!

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top