3.11 Subreport

The following RDL definition shows an example of a Subreport definition that would be used within a data region. The example includes specifying the location of the report definition to use for the subreport by specifying the path by using the Subreport.ReportName element. The report being referenced requires three report parameters to be supplied with values, which are specified by using the Subreport.Parameters element.

 <Subreport Name="Subreport1">
     <Parameter Name="CustomerID">
     <Parameter Name="OrderID">
     <Parameter Name="ShowDetails">
       <Value>=(Count(Fields!OrderID.Value) < 5)</Value>