Subreports + pagebreak

Posted by: troxy on 4 August 2017, 3:13 pm EST

  • Posted 4 August 2017, 3:13 pm EST

    Hello,
    I'm building a report where the detail section contains no less than 4 subreports.
    Please see the attached image.

    I'm trying to achieve the following:
    When SubReport1 grows it will push the other subreports downwards. So far so good.
    BUT if one of SubReport2,3,4 is being pushed to the next page, all three should come along. They must be kept on the same page!
    Right now, only the subreport that won't fit is pushed to the next page.

    Please help me!
    2008/11/ar1.JPG
  • Replied 4 August 2017, 3:13 pm EST

    Hello ,


    Do you mean that upper and two other subreports can be shown on one page and last subreport is going to the next page?


    I recommend you to create a subreport which will show the bottom subreports together.


    If it won't help please send me a sample of project.


    Thanks,


    Sergey Romanov.

  • Replied 4 August 2017, 3:13 pm EST

    Hello,

    please have a look at the attached images below.

    SubReport2, 3 and 4 must be kept on same page.
    Can they be grouped together or something?
    Thanks!
    Emil Konow

    2008/12/ar2.JPG
  • Replied 4 August 2017, 3:13 pm EST

    Hello Emil,

    If you're building a main report that just has a few SubReport controls on it, then try adding a couple group headers and place #1 in its own group header and #'s 2, 3, and 4 in the other. You can then decrease the size of the detail section and group footers to zero and delete the page header/footer if you like. That way the main report will just render as-is without repeating the detail section. The second group header will move to the next page if it can't fit on the current one and the other three SubReports will move along with it.

    Tim
Need extra support?

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

Learn More

Forum Channels