Jaa


ReportItems Element (RDL)

Contains the report items that define the contents of a report region.

Syntax

<Body> <!-- or PageHeader, PageFooter, Rectangle, List, Corner, DynamicColumns, StaticColumn, DynamicRows, StaticRow , Subtotal, MatrixCell, TableCell -->
       ...
        <ReportItems>
              <Line>...</Line>
              <Rectangle>...</Rectangle>
              <Textbox>...</Textbox>
              <Image>...</Image>
              <Subreport>...</Subreport>
              <List>...</List>
              <Matrix>...</Matrix>
              <Table>...</Table>
              <Chart>...</Chart>
              <CustomReportItem>...</CustomReportItem>
        </ReportItems>
       ...
</Body> <!-- or /PageHeader, /PageFooter, /Rectangle, /List, /Corner, /DynamicColumns, /StaticColumn, /DynamicRows, /StaticRow, /Subtotal, /MatrixCell, /TableCell -->

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality (when used as a child of Body, PageFooter, PageHeader, Rectangle, or List)

0-1: Optional element that can occur once or not at all.

Cardinality (when used as a child of all other elements)

1-1: Required element that occurs once and only once.

Element Relationships

Relationship Element

Parent elements

Body, Corner, DynamicColumns, DynamicRows, List, MatrixCell, PageFooter, PageHeader, Rectangle, StaticColumn, StaticRow, Subtotal, TableCell

Child elements

Chart, CustomReportItem, Image, Line, List, Matrix, Rectangle, Subreport, Table, Textbox

Remarks

ReportItems must contain at least one child element.

When ReportItems is used within a PageHeader or PageFooter element, ReportItems cannot contain a Subreport, List, Matrix, Table, or Chart.

When ReportItems is used within a Corner, DynamicColumns, DynamicRows, StaticColumn, StaticRow, Subtotal, or MatrixCell element, ReportItems can contain one and only one child item. Values for the Top, Left, Height, and Width elements for this child item are ignored. Top and Left are set to 0, and Height and Width are set to 100 percent of the containing item.

See Also

Reference

Report Definition XML Elements

Help and Information

Getting SQL Server 2005 Assistance