[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 753
  • Last Modified:

Report consisting of subreports will not create pagebreak

I have several reports I created for mail merge purposes. Everything is working as expected except for the fact that I cannot get a pagebreak between each subreport. Any help is appreciated, I have attached the Master RDL and have it set to create a pagebreak between each instance of a group. I don't really know what to group on. I am using the same dataset across all of the reports. These "reports" are individual documents that make up a contract and I am using SSRS to merge the data that I need.
Master-Subcontract.rdl
0
J C
Asked:
J C
  • 2
1 Solution
 
ValentinoVBI ConsultantCommented:
All of those subreports, except the last one, are given three parameters.  Those three parameters are your report parameters, so not coming from a dataset.  In that case, I don't see why they need to be nested in a table.

So, my first suggestion is to take them out of the table and put them straight on the white design surface.  All, except for the last one (WAEXA).

The next step is to put a Rectangle in between the subreports.  As you've noticed, it's not possible to tell a Subreport component to create a page break.  But it is possible on a Rectangle.  In the rectangle properties, you'll find a couple of checkboxes related to page breaks.  Check the one called Add a page break before (assuming you've put the rectangle under the subreport).  Ensure the rectangle height is really minimal, like 0.02in, to not disturb your layout too much.

That should do it, now you should have page breaks in between your rendered subreports.
0
 
J CAuthor Commented:
Thank you. It looks like my major issue was the page footer I had included. I need the initials there but if I leave it it creates a ton of white space and breaks the pagination. Any suggestions?
0
 
ValentinoVBI ConsultantCommented:
Do you need those initials right after your last subreport?  In that case you can probably move them to the report body. If you put them under the last subreport, they will always be displayed at the end.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now