We have created all of our reports in Crystal XI (outside of VB.NET). The reports execute SQL stored procedures with input parameters. The number of input parameters will vary from report to report. The reports are located in our main application which executes a generic vb program that will print, preview, export, email, etc. the report selected to print from the application.
We are in the process of rewriting the vb program in vb.net(visual studio 2005) rather then convert it (too many upgrade warnings). We are using the ReportDocument and CrystalReportViewer object models.
We've started with a simple report with two input parameters. I am using the SetParameterValue method of the ReportDocument to set the parameter value of the report. Works fine. As soon as I add a subreport to the report I am prompted for the main report parameters when I preview the report. The subreport does not have any input parameters.
I've tried researching parameter prompting, but have had no luck. How can I prevent the viewer from prompting me for parameters?
We are in the process of rewriting the vb program in vb.net(visual studio 2005) rather then convert it (too many upgrade warnings). We are using the ReportDocument and CrystalReportViewer object models.
We've started with a simple report with two input parameters. I am using the SetParameterValue method of the ReportDocument to set the parameter value of the report. Works fine. As soon as I add a subreport to the report I am prompted for the main report parameters when I preview the report. The subreport does not have any input parameters.
I've tried researching parameter prompting, but have had no luck. How can I prevent the viewer from prompting me for parameters?