how to pass multiple parameters in crystal report 11 ??????
thanks in advance
jawad khatri
Printable View
how to pass multiple parameters in crystal report 11 ??????
thanks in advance
jawad khatri
I'm assuming that you mean passing parameters to a subreport, right? You simply change the links to the report and pass all of the fields and/or parameters that you want to.
If you are referring to Passing a Parameter to a report via code, here is a bit of information.
1) The parameter name & data type need to be define in the report template (the rpt file).
2) The parameter value gets passed using the SetParameterValue() method of the rpt object prior to the rpt being launched via a ReportViewer.
rpt.SetParameterValue("PrintDate", sPrintDate)