Page 1 of 2
Problem in SubReport Header and Footer
Posted: Tue Feb 07, 2012 6:55 am
by Erfan Gholami
hi
i use a SubReport with header . but header is not repeat at every pages
can you help me please .
tnx
Problem in SubReport Header and Footer
Posted: Wed Feb 08, 2012 4:26 am
by HighAley
Hello.
Erfan wrote:i use a SubReport with header . but header is not repeat at every pages
can you help me please .
At this moment all sub-reports are rendered on one page with unlimited height and only then is put on the page of the main report. So the headers isn't repeated.
As workaround, please, try to move Bands with headers and footers to main report.
Thank you.
Re: Problem in SubReport Header and Footer
Posted: Wed Apr 26, 2017 4:28 pm
by lsilva.gvdasa
Hi HighAley,
I'm having the same problem. Has it been solved?
Re: Problem in SubReport Header and Footer
Posted: Thu Apr 27, 2017 6:50 am
by Alex K.
Hello,
We made some improvements in that direction. Please check the last version.
If the issue still present, please send us a simple report with test data which reproduces the issue for analysis.
Thank you.
Re: Problem in SubReport Header and Footer
Posted: Fri Sep 21, 2018 6:10 am
by vineet
Hi HighAley, just checking if this will ever be solved? Seems like a lot of users are facing this issue including myself.
Re: Problem in SubReport Header and Footer
Posted: Fri Sep 21, 2018 1:19 pm
by MatthiasU
Hi,
try to use it as external subreport.
Re: Problem in SubReport Header and Footer
Posted: Fri Sep 21, 2018 1:25 pm
by vineet
Hi, we don't want to create external subreports for each individual sub-section on a report. Makes code management messy too. The issue is fixed if I use an external sub-report? If yes, seems like the next correct thing to do would be to fix it for all types of sub-reports.
Re: Problem in SubReport Header and Footer
Posted: Fri Sep 28, 2018 6:48 am
by Lech Kulikowski
Hello,
Please check the last release. If the issue still present, please send a sample report for analysis.
Thank you.
Re: Problem in SubReport Header and Footer
Posted: Mon Oct 06, 2025 5:08 am
by miss
Hi, im kinda facing the similar issue related to header when injecting a SubReport into a Main Report in Stimulsoft.
In the standalone SubReport, the table header (or header band) repeats correctly on each page.
But when the same SubReport is injected into a Main Report, the header becomes separated from its data rows. Sometimes the header prints alone at the bottom of a page, and the data starts on the next page. In simple words, the layout becomes messed up.
What I’ve already tried:
* Moving the header into a GroupHeaderBand in sub report with `RepeatOnEveryPage = true`.
* Splitting the table into a header table in a GroupHeaderBand and a data table in a DataBand.
* Adjusting SubReport properties such as `PrintOnPreviousPage` and `PrintOnAllPages`.
None of these solved the separation issue.
My questions:
1. Is this a known limitation when injecting SubReports into a Main Report?
2. Is there a workaround to keep headers attached to their data rows and still repeat correctly on each page when used inside a Main Report? If yes, how can i fix this?
Re: Problem in SubReport Header and Footer
Posted: Tue Oct 07, 2025 7:21 am
by Lech Kulikowski
Hello.
The sub-report is rendered on a page with unlimited height, because it's impossible to know the end size of the sub-report component, and then split into pages.
Thank you.