Solved

Report consisting of subreports will not create pagebreak

Posted on 2013-01-14
3
675 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In this article I will describe the Backup & Restore 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.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

920 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now