Hi,
To explain my question, I need to explain the report a bit, so, pl bear with me.
I have a table in the body of my report.
The table has one grouping.
The group header has been set to repeat on new page and this works fine.
Here is my problem..
The group footer has another table embedded in it. (call it the FooterTable)
When the FooterTable runs to the next page, the GroupHeader of the MainTable doesn't repeat itself. I am assuming it should as the FooterTable is still in the GroupFooter of the main table.
But I cannot get the GroupHeader to repeat on a new page.
(FYI : The reason I had to embed a second table was because I have a set of 3,4 lines in the Group Footer which must stay together in one page. I put these lines in the second table and use the KeepTogether property on the table. I didnt know of any other way to do this. )
Thanks.
SriWithAQuestion.
The structure of a table is:
header
subgroups / details
footer
The RepeatOnNewPage property is available for headers & footers and we will attempt to render them on every page of the subgroups and details.
We have few other rules implemented for tables:
- every row of the table has an implicit keep together
- widow and orphan rules
In your case:
- if the FooterTable is smaller than page height than it will be on its own page (because of its implicit keep together)
- if there is enough room left on the page, a detail of the main table (assuming there is more than one) should be rendered together with the footer - widow/orphan rules
- if a detail is present and there is still room on the page, then the main table header will be renderer due to its keep together
Hope this helps to clarify the behavior,
Nicoleta|||
sriwithaquestion wrote:
...
(FYI : The reason I had to embed a second table was because I have a set of 3,4 lines in the Group Footer which must stay together in one page. I put these lines in the second table and use the KeepTogether property on the table. I didnt know of any other way to do this.)
A rectangle around the lines solve the "keep together" problem, doesn't it? But it won't make them show up on every page. No table footer will do that since they are just footers and should appear last. I think I have managed to get a matrix to show a footer on each page (probably because I didn't want it to since the table continued on the next page!).
No comments:
Post a Comment