Pass parameters to a stored procedure in a Crystal Report sub report

crystal-reportsstored-procedures

I have a Crystal Report, that is populated with a stored procedure, it also contains a sub report, that I am trying to populate with another stored procedure … same parameters. I cannot figure out how to pass the parameter value to the sub report.

Any help would be appreciated!

Best Answer

When you add the stored proc to the sub-report CR will add the parameters automatically. Then when you set up the sub-report links you link the main report parameters to the sub-report parameters.