Returning values to the primary report

You can make values of the subreport return to the primary report. To do this:

  1. Right-click the subreport and select Format Subreport from the shortcut menu.
  2. In the Subreport dialog, click the Return Value tab.
  3. In the Component in Report Tab box, check the component in the subreport, the fields of which you want to use to return value to parameters of the primary report, then the Field in Subreport box will list all available fields used by the selected component.
  4. Select the field that you want to assign to a parameter in the primary report, click , and a parameter in the primary report of the same data type will be displayed in the Parameters column of the Return Value box. If the automatically assigned parameter is not what you need, select the required one from the parameter drop-down list.
  5. If required, select another component in the Component in Report Tab box and set more mapping fields for parameters in the primary report.
  6. When done, click OK to apply the settings.

Notes: