StartNewPage - does not fire
I do have attached a example of a report with a xm datafile. In the report I have set the property "StartNewPage" in the groupheader "GroupHeaderReferentie" to true. (it is the group with a bold text, just before the data band).
The report should print two pages because there are two different values for the group expression of that group header, however it does not start a new page. All the data is print on page one.
I tried everything but could not get a page break.
In the PNG file in the attachement zip you will find a printscreen of the result. The data in the redbox should be printed at a new page.
BTW, in the first group header the property StartNewPage is set to true also, that one works fine.
The report should print two pages because there are two different values for the group expression of that group header, however it does not start a new page. All the data is print on page one.
I tried everything but could not get a page break.
In the PNG file in the attachement zip you will find a printscreen of the result. The data in the redbox should be printed at a new page.
BTW, in the first group header the property StartNewPage is set to true also, that one works fine.
Comments
Your report throws an error when I'm trying to preview it, so I can't check it.
If this not work, what error did you get?
1) Set GroupHeaderReferentie.FirstRowStartsNewPage property to true;
2) or, set GroupHeaderReferentie.StartNewPage to false, and GroupHeader5.StartNewPage to true.
Option two works fine. Only I do not understand why I should do it in this way. Why the original report did not work.
The ready report is:
As you may see, "One" and "Two" rows are the first rows inside the GroupHeader5. The first row does not start a new page unless its option "FirstRowStartsNewPage" is on.
In case if the ready report is the StartNewPage option of GroupHeaderReferentie will work in the original report, as you expect.