Nick
Nick

Reputation: 1718

Reporting Services 2008 - Long subreports cause page break

Similar to this question, but I have one "master" report which contains many subreports. Everything works great until one of the subreports, when rendered (to PDF, for example), will take up > the space left on a page. In this case, the page breaks so that the subreport starts on a new page. Sometimes this looks incredibly awkward when the one report only takes up a little bit of room on one page, then it breaks to the next page because the following subreport is too long. Any suggestions? It is not a width/margin problem, because when all of the subreports are short, it looks fine. Also, I am using HTML placeholders, and I do not have any margins set on the subreports, nor do I have any of these checked:

Upvotes: 4

Views: 6194

Answers (3)

Dustin Brooks
Dustin Brooks

Reputation: 2591

In Reporting Services 2008, there is a new property on the Subreport called KeepTogether. This was always True in 2005 with no way to change it. We've had great success in getting rid of blank space and blank pages in 2008 (with exception to dynamic height property on charts, but thats another ticket).

Also check for KeepTogether on your grids, rectangles, etc.. and turn them all to False when you don't want them to stay together.

Upvotes: 2

user162248
user162248

Reputation:

Check the MS article KB938943, I was unable to fix this...

Upvotes: 3

Mark Struzinski
Mark Struzinski

Reputation: 33491

Do you have any groupings in the subreports that specify page breaks? If so, this may cause the page break. regardless of the settings in the 'master' report.

Upvotes: 0

Related Questions