Parameterized Subreports

I suggest to implement parameterized subreports:

To improve reusability of reports and avoid copying and pasting complex report designs I suggest making “normal” subreports parameterizable.

If a subreport has report parameters, provide entries in the subreport properties dialog to provide values for them.

We already have this concept when a report is used as drilldown report (“Drilldown via Report Parameters”), so this approach would be consistent with existing features, unleashing additional potential.

Typical use cases might be:

e.g.

  • print a subreport with either net or gross prices by providing a flag which price to print
  • print a subreport in different currencies by providing a currency symbol and a conversion rate
  • provide a value calculated in the base report to a subreport
  • print multiple instances of a subreport with different settings on the same page