Passing the parameters to the crystal Report containing Stored Proc.

Ninnad Jagtap

Active member
Joined
Apr 12, 2005
Messages
35
Programming Experience
Beginner
Hi

I have Crystel Report that has Stored procedure i have passed parameters to the Report thr' code behind like

If ImpCHA <> "" Then

prmDiscrete = New ParameterDiscreteValue()

prmValues =
New ParameterValues()

prmDiscrete.Value = ImpCHA

prmValues.Add(prmDiscrete)

crReportdocument.DataDefinition.ParameterFields.Item("@CUPIMPORTCHA").ApplyCurrentValues(prmValues)

End If

i have five such parameters that i have to pass in the crystal report SP and the valyues that i have passed are correct but the report that is genetared is blank. So am i wrong in passing parameters.
 
Back
Top