Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Passing parameters to a sub report

Hi Everyone,

Can anyone please explain how to pass a parameter from the main report to the subreport in Crystal Reports?

The version used is Crystal Reports 2008.

Regards,

Neeraj Sharma

Tags:
Former Member
Former Member replied

Hi Neeraj,

Following are the steps to pass the main report parameter to sub report

1. create a parameter in main report eg: param a

2. insert a sub report in the main report

3. right click on sub report select 'change sub report link' option

4. select the parameter 'param a' from the 'available field' window and add to 'fields to link to'

5. you will notice it will be automatically populated in the 'subreport parameter fields to use' link it to the sub report field >> click ok

This is how you can pass the main report parameter to the sub report

-Shahnawaz

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question