1
Answer

Problem Passing parameter value to Sub report

try abc

try abc

14y
7.8k
1
Hello, 
I have created one crystal Report with sub report.. Sub report has a one parameter "Parameter1" which is created design time in report. which has a discrete value. now when  the report  run i want to pass the sub report parameter programatically.
for that i use the following code..

 objcrMain.SetParameterValue("Parameter1", ParamValue, "crSubreport.rpt"); 

still when report runs it prompt for parameter value.. 
this problem is specific to sub report only.. how to pass sub report parameter? if anybody has a idea, please help.

Thanks


Answers (1)