VS.Net and Crystal Reports and Asp.Net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am able to successfully view my report in the CRViewer on a webform. I
have passed parameters to the report and it shows up just fine. I go to
export the report to PDF by clicking on a button. The button sets up all the
options and then calls MyReport.Export(). The report errors and says that it
is missing a parameter value. Do I have to attach the parameters to the
Export file? I thought that I was just exporting the completed report. Is
it recreating the report to export it?
 
I figured it out. You do have to call SetParameterValue() on the Report
object being exported to PDF.
 
Back
Top