Subreport Element (RDL)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Contains information about a report that is included within another report.
Element Attributes
Attribute | Type | Description |
---|---|---|
Name |
String |
Name of the subreport. Required. |
Element Relationships
Relationship | Element | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Parent element |
ReportItems Element (RDL), CellContents Element (RDL), AltReportItem Element (RDL) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Child elements |
|
Remarks
A Subreport element is a type of ReportItem element.
Subreports can be nested. Subreports may not be contained in a PageSection element. The subreport Style property applies to the text box that contains the subreport.
When a subreport fails to execute during report processing, the report renderer displaysthe error message on the report page in the same location as the subreport would have been rendered
The NoRowsMessage text displays in the subreport when no data is available for any subreport dataset used in the Body element of the subreport.
If no parameters are specified and the report contains no toggle elements, the subreport runs only once, even if the subreport is contained within a data region item such as a Tablix element.
When the ReportParameter property UsedInQuery is set to Auto (the default), a reference to a subreport sets the value to True.
You can use the MergeTransactions element to merge transactions that are used in the subreport with the transactions in the parent report if the data sources are the same.
The following Report properties do not apply to Subreport: Description, Author, AutoRefresh, Width, Page, DataTransform, DataSchema. The following ReportItem properties do not apply to Subreport: Action, RepeatWith.
See Also
Reference
Report Definition Language XML Schema
Report Definition XML Elements
Concepts
Report Definition Language Data Types
Other Resources
Development (Reporting Services)
Working with Report Items
Adding a Subreport