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!

Date Formula 3

Status
Not open for further replies.

sgd3476

Programmer
Mar 3, 2003
37
US
I have created a report that shows orders submitted by traders. I would like it to show only previous day's orders. I have many dates in the table to select from, I just don't know how to select previousday.

Thanks for any help.
Katie
 
Try:

Report->Edit Selection Formula->Record

{table.date} = currentdate-1

Too simple, eh?

If thsi doesn't work, post technical information:
Crystal version
Database/connectivity used
Example data
Expected output

-k
 
If you only want to see the previous days records on your report, then use the following in your record selection:

{table.order_date} = currentdate-1

This will return only the previous days orders to your report.

~Brian
 
That did it! I'm sure you've heard it before, but you all are wonderful.

Thanks,
Katie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top