cancel
Showing results for 
Search instead for 
Did you mean: 

run a report without opening application

Former Member
0 Kudos

I need a report to be run daily but i do not want the Crystal Report XI to open to allow any editing to the report. I understand that CR viewer can open saved reports but i need the report to be refreshed daily.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Not sure how you can setup non editing option in the report however, I have read this article right from the help file of Crystal Reports which might help you.

Refresh Report Data command

Use the Refresh Report Data command to retrieve fresh data for your report when you display it in the Preview Tab.

When you refresh a report that doesn't have saved data, Crystal Reports retrieves data from the database; otherwise, the program discards the report's saved data and retrieves new data.

Note: Refreshing a report's data does not necessarily refresh a subreport's data at the same time. Crystal Reports generates subreport data only when the subreport is encountered. For example, if a subreport is located on the second page of your report, the data for that subreport is not retrieved until you view the second page.

By design, Crystal Reports only retrieves data when necessary. When you preview your report in the Preview tab, print the report, or export it to a file, the program runs your report and retrieves the required data. Once you are working with the data in the Preview tab, the program will run the report again and retrieve fresh data if you:

Add fields to the report after the report was run.

Add a formula that references a field that was not in the report when you ran it the first time.

Expand your record selection criteria to include more records than were needed when you first ran the report.

Aside from these circumstances, the program will not automatically refresh a report.

However, there may be times when you want to retrieve new data for the report. For example, you may have created a report several days earlier and you want to see it run with the most current data.

The Refresh Report Data command is intended for times such as this.

Regards

Jehanzeb

Answers (0)