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

Refresh Parameters Window

Status
Not open for further replies.

stuartgmilton

Programmer
Nov 12, 2001
66
GB
Hi Folks,

My report has a few parameters, so when I refresh it, I keep getting asked whether I wish to use the current parameters or choose other ones.

Is it possible to force the user to always enter new values?

Thanks,

Stuart
 
This is the way that Crystal Reports designer works.
If you're always running your reports in the designer then, when you refresh, you'll always be asked.
If you want to ensure that it always asks for new values, then close the preview window and then click either Refresh or Print Preview.


Bob Suruncle
 
But when I release these reports to be used through our .NET application, I want it to pass the report variables from the application.

Is this not possible?
 
That is possible, but it's not clear how it's related to your original question. The Crystal runtime components expose properties and methods for setting parameter values programmatically.

- Ido

view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
If I had to guess, it sounds like what you need to do is enter some code in the clicked event of the Refresh button. In that code, set the default behavior to False, set the parameter values programmatically, and run the report.

- Ido

view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top