cancel
Showing results for 
Search instead for 
Did you mean: 

Problem resetting page number

Former Member
0 Kudos

I have a main report with several subreports in the group footer sections (sections GF2a - GF2l).

In the main report page footer I added a page number.

After the last section of Group 2 (ie GF2l) I want to reset my page number to 1.

Problem is that the subreports can be empty and to avoid blank pages the section in the main report is suppressed if the subreport in that section is empty (Suppress Blank Section).

It seems that the 'Reset Page Number After' setting is not processed if the section containing the setting is suppressed.

I also tried to add an extra group 'around' the group containing the subreports.

The sections of the group header and the group footer of this new group are hidden (not suppressed) and the 'Reset Page Number After' in the new group footer is selected.

The page number in the page footer of the main report is reset now when printed, but only on the second page of the new group (so when printed, the first page of the new group is last page number of the previous group + 1 and the second page of the new group has page number 1)

How can I solve this problem?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ard,

Go to Report --> Section Expert --> Select Group Footer 2

Chech the New Page After and Reset Page Number After checkboxes, you have specified you did it already, but still try Reset Page Number After in combination with New Page After

Thanks

-Azhar

Former Member
0 Kudos

Thanks for the reply.

If I select the 'New Page After' and 'Reset Page Number After' in the 'main' GF2 (so not in the GF2a - GF2l subsections where the subreports are placed in), the page number resets after every subsection.

This is not what I want.

I want the pages to continue numbering through all sections of group 2 (GF2a - GF2l each containing a subreport), after the last subsection of group 2, I want the page number to reset and start the first page of the 'next group 2' to start with page 1.

In all subsections GF2a - GF2l the 'New Page After' setting is selected.

Setting the 'Reset Page Number After' in GF2l only resets the page numbers if the subreport is not empty, and by result the section is not suppressed.

Former Member
0 Kudos

Create one last GF2 (GF2m), and set New Page After and Reset Page Number After on that footer. (You probably do not want New Page After on GF2l...)

HTH,

Carl

Answers (0)