다음을 통해 공유


Subreport Element (RDL)

Contains information about a report to be included within the report.

구문

<ReportItems>
    ...
<Subreport Name="...">
        <Style>...</Style>
        <Top>...</Top>
        <Left>...</Left>
        <Height>...</Height>
        <Width>...</Width>
        <ZIndex>...</ZIndex>
        <Visibility>...</Visibility>
        <ToolTip>...</ToolTip>
        <Label>...</Label>
        <Bookmark>...</Bookmark>
        <Custom>...</Custom>
        <ReportName>...</ReportName>
        <Parameters>...</Parameters>
        <NoRows>...</NoRows>
        <MergeTransactions>...</MergeTransactions>
    </Subreport>
    ...
</ReportItems>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

0-n: Optional element that can occur once or more.

Element Attributes

Attribute Type Description

Name

String

Name of the subreport. Required.

Element Relationships

Relationship Element

Parent element

ReportItems

Child elements

Bookmark, Custom, Height, Label, Left, MergeTransactions, NoRows, Parameters, ReportName, Style, ToolTip, Top, Visibility, Width, ZIndex

주의

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 repeating item such as list, table, or matrix.

Subreports can be nested.

If a subreport fails to execute, the subreport is replaced with a text box that contains an error message. Style information for the subreport is applied to the text box.

참고 항목

참조

Report Definition XML Elements

도움말 및 정보

SQL Server 2005 지원 받기