Hi everyone,
I’m using SSRS 2005 and had a question about table grouping and page breaks. There’s a table in my report that’s not inserting page breaks and I’m hard pressed to see why.
I’ve assigned a DataSet to this table, and am displaying a group header in it-- the grouping is based on a record ID value. I don’t have any footers, nor am I displaying any details rows. The group header is where all the display gets done.
In the header grouping I’ve selected the “Insert a page break before this table” but I don’t get any page breaks. The records come one after another with nothing inbetween. Here’s a snippet of the report’s XML to give an idea of what I’m doing:
<Rectangle Name="rectangle2">
<ReportItems>
<Table Name="MyDataTable">
<DataSetName>MyDataSet</DataSetName>
<PageBreakAtStart>true</PageBreakAtStart>
<Top>0.125in</Top>
<TableGroups>
<TableGroup>
<Grouping Name="MyDataTable_Group1">
<GroupExpressions>
<GroupExpression>=Fields!RecordID.Value</GroupExpression>
</GroupExpressions>
<PageBreakAtStart>true</PageBreakAtStart>
</Grouping>
<Header>
<TableRows>
….
</TableRows>
I’ve got a Page break set in the grouping, but the breaks are not taking hold. Any ideas what I’m doing wrong? Thanks much.