Subreport causing Page Breaks

Posted by: briang-dd on 4 August 2017, 3:05 pm EST

  • Posted 4 August 2017, 3:05 pm EST

    I am having an issue where a subreport is causing an unwanted page break.

    My main report is all in the detail section, as well as 3 subreports. In total it is approx a 6 page report (depending on the subreports). The first and last subreport are functioning correctly, but the 2nd subreport causes a page break after the subreport control.

    Is this a known issue with a fix available?

  • Replied 4 August 2017, 3:05 pm EST

    I will need more information to troubleshoot this behavior. First, check for overlapping controls on your report. Every control should have a small amount of space between it and other controls in order to grow properly.

    In addition, you can also test your report using the latest service pack available at Please backup all of your project files first in case you need to rollback.

  • Replied 4 August 2017, 3:05 pm EST

    I would also recommend double checking the NewPage property of all sections in both your 2nd and 3rd subreports.
  • Replied 4 August 2017, 3:05 pm EST

    Well I've checked the controls, and there aren't any overlapping. I also checked "New Page" on all subreports and they are all set to "0-None" (That's what is odd actually). I have 4 rather simple/small subreports scattered throughout my master report. Each sub was setup using the default properties. Although only 1 of them is causing a page break after the sub. The other 3 (using the same properties on all 4 subs) are functioning fine, without creating a page break.

    Tim, what info can I provide that would help out more (I'm kinda new to AR).
  • Replied 4 August 2017, 3:05 pm EST

    So I found a work-around I think. I serperated the 6 page report and put each page with it's associated sub-report in it's own GroupHeader and then set the Keep Together property of each Group to True. The page break is no longer happening, but I'm not sure how the report will display if the subreport grows enough to push the rest of the content for a Group down to a new page. I assume it will work out fine though.
  • Replied 4 August 2017, 3:05 pm EST

    If you are only using the GroupHeaders to display SubReports and have nothing else on the main report, everything should be fine, especially if CanShrink is set to true for all the sections. Using GroupHeaders this way, just to display SubReports, is fine since the main report will just render each section and end. Many people use this technique with SubReports.

    However, be aware of how the KeepTogether property works. It <b>tries </b>to keep a section together on a single page. If it cannot fit on the remainder of the current page, it's pushed to the next page. If it still can fit on the next page (i.e. the section is larger than the page height) then there's no choice but to move it back to the current page and split it up.

    In addition, if you have trouble getting something to work, and suspect the behavior should be different, a good step is to update to the latest build. (Of course you'll need to redistribute the new DLLs to your users though.) You can download service packs and hot fixes at All updates are cumulative so you only need to install one.

    Tim P.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels