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

Disable Crystal Parameter Prompt on Refresh?

Status
Not open for further replies.

rb74

Programmer
May 5, 2002
64
US
Hi everyone,

I am using the CR Viewer in my VB6 project. I would like to have the users be able to refresh all reports. However, some reports require one or more parameters for which I designed input forms to take parameters and pass them to the report. If I press the refresh button for a report that requires parameters, Crystal's parameter window appears. Is it possible for me to disable Crystal's Parameter window from appearing when the refresh button is pressed, and insert code for my parameter input form to appear?


Thanks,

Rob
[Vader2]
 
Rob

This is my problem. I want to allow click of refresh but retain the same parameter or not have the damn parameter window open at all.

Did you find an aswer to this ?

Brian
blarson@fsisolutions.com
 
Take a look at the CRViewer's RefreshButtonClicked event. You should be able to keep the Crystal parameter window at bay in there, and you can keep or reset your current parameter values.

-dave
 
Just to confirm what Dave is saying (not that there's much doubt about his advice), this is exactly what I do in my viewer application. I use that event to give the users a dialog (like the one you get in Crystal) that gives them the option to use the same parameter values or get prompted again.

Cheers,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Okay, can anyone post eaxactly what the event handler should look like? I have tried to reset all the crsytalReportViewer params by using parameterInfo but the report still prompts for new parameters... any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top