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!

Running Report for Current Day

Status
Not open for further replies.

OT2

Technical User
Jan 14, 2005
54
US
Hello,

I am new Crystal user so please pardon if this question seems trivial.

I have a batch job that runs a crystal report and exports it to a pdf file. The report has a date parameter that I need to set to current day everytime I run the job. Is there a way I can set the parameter in the report to run automatically for current day? This would help me tremedously.

Thank you for your help.

 
Which version of Crystal are you using ?

You can set {?Parameter} = CurrentDate in select expert.

kutoose@yahoo.com
 
Hi Kutoose, I am using 9.0. Will try your tip and let you know how it works out.

Thanks
 
If you always want to run the report on the current day, then you don't need a parameter. You would just use a selection formula like:

{table.date} = currentdate

-LB
 
Kutoose, would I have to plug in the formula into the Formula field in the Select Expert drop down?

lbass: I am working on another version and will use your tip.

thanks
 
Got this to work! Thank you both for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top