cancel
Showing results for 
Search instead for 
Did you mean: 

Headers of subreports with multi-column data detail sections do not get displayed on each new page of report

0 Kudos

Hi, all,

could you, please, help me understand how multi-column display of data in detail section is working?

I have created a detail section with multi-column layout in one rpt file which I later import by using RAS SDK in another report.

The subreport has a page header, which I would like to see on each new page of the overall report.

However, this is not the case. When I import a multi-column subreport with a lot of data, that goes over, let's say, 3 pages, I see only one subreport's header printed out. Also,  if I add a special field to subreport's header (Page N of M) I see that in that one Page Header section it prints out Page 1 of 3.

How can I force print of subreport's Page Header on each new page of the overall report?

Any help highly appreciated!

Accepted Solutions (1)

Accepted Solutions (1)

abhilash_kumar
Active Contributor
0 Kudos

Hi Jelena,

Try this please:

1) Create a formula with this code:

whilereadingrecords;

'';

2) Go to the Group Expert > Add this formula field to the Group List > Click Options > Options tab > Check the option 'Repeat Group Header on each page'

3) Move all fields that you wish to see on the header to this new Group Header section

4) Suppress the Group Footer.

-Abhilash

0 Kudos

Thank you very much!

Worked like a charm! And, really, kudos for the solution!

This problem has bothered me for quite some time, and I thought there will be no solution for it!

Answers (2)

Answers (2)

former_member292966
Active Contributor
0 Kudos

Hi Jelena,

The paging is actually handled by the Main Report.  So your headers should be in the Page Header or Group Header of the Main Report instead of the sub report. 

The subreport can't know if there are other things on the Main Report that will make the page count conflict.  There may be a section before the subreport that takes a page before the subreport runs.  So all of the paging has to be managed by the Main Report. 

Hope this helps,

Brian

0 Kudos

Hi Jelena,

I moved your post to the Report Design forum.

The subreports data is considered one object and does not know about pages, it's the main report that does the paging and not the subreport.

Others may have figured out a way to make this work....

Don