[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 740
  • 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

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