Hi All,
How can we pass a parameter from main report to subreport in crystal reports XI. I am having a parameter in the main report. Now i want to pass the same parameter to subreports. Kind help needed please..
By, Sivakumar.P
Hi All,
How can we pass a parameter from main report to subreport in crystal reports XI. I am having a parameter in the main report. Now i want to pass the same parameter to subreports. Kind help needed please..
By, Sivakumar.P
Right-click on the subreport object and choose Change SubReport Links, then select how the parameter is to be used by the subreport.
Using CodebyMoonlight soultion requires a relation between main report and subreport.
If there is no relation between both of them, you can use Shared Variables to pass values between both of them, as shared variable can be set and displayed anywhere in main report or sub report.
Shared NumberVar x := 5;