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

Upgrading vb app to vb.net to execute crystal reports

Status
Not open for further replies.

N11689

Programmer
Jan 29, 2002
113
US
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?

 
After working with Business Objects, we found that although we are not creating our Crystal Reports using the version of Crystal embedded in VB.NET (rather developing the reports in Crystal XI developer), we needed to upgrade to Crystal XI Release 2 (with Service Pack 2...the latest release to date) in order to correct this issue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top