on 08-13-2008 7:14 PM
Hi,
Does anyone know how to disable parameter prompt for Crystal Report 9 using vb.net 2005 win form?
I looked in internet. There are many such questions in internet, but there is no answer that works.
Any suggestions?
Thank you.
To disable the parameter prompt, you have to populate the parameters with a value prior to generating the report. Once CR sees that the parameter has data, it will use that data to create the report without prompting the user.
Use the SetParameterValue() method of the ReportDocument class to set the parameter. The first argument is the parameter name and the second is the parameter's value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tet,
You need to set the paramters in your VB app. Any parameters you do not set will get prompted for.
If you are setting them but still getting prompted, make sure you are not using the Refresh method because that will cause the report to prompt for the parameters again. Same as in the Report Designer and you go to refresh the report you get prompted to use the current parameters or to discard them.
Hope this helps,
Brian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
The OnDemand forum is for discussions related to the crystalreports.com, Nsite, or Information OnDemand applications.
This is a question specific to crystal reports so I have moved it to a more appropriate forum.
Cheers
Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.