I have a main report and I am trying to add a sub report. This main report if filtered by a parameter. The subreport should also be filtered by the same parameter. Here are my steps.
1. I add a new subreport by dragging the subreport source from the Solution Explorer into the main report design space.
If I try to preview the report at this stage I get the following error on the previewed report:"One or more parameters were not specified for the subreport 'Subreport', located at: /SubreportSourceLocation
2. I then try to add a parameter to the subreport and I get no options for parameters names despite there being identical parameters available in both the subreport source and the main report.
3. I try to manually enter the appropriate parameter information and I get: "Error: Subreport cound not be shown."
Also the following warning is issued "Warning 1 [rsWarningExecutingSubreport] Warnings occurred while executing the subreport ‘Subreport’. [rsNone] An attempt was made to set a report parameter 'SubreportSource' that is not defined in this report. "
I'm new at and still trying to make sense of this framework. Thanks in advance.