Solved

Report consisting of subreports will not create pagebreak

Posted on 2013-01-14
3
690 Views
Last Modified: 2013-01-16
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
Comment
Question by:J C
  • 2
3 Comments
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 38777380
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
 

Author Comment

by:J C
ID: 38779975
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
 
LVL 37

Expert Comment

by:ValentinoV
ID: 38785942
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question