Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inserting a Page break into an SSRS report

I have a report in SSRS that contains 12 subreports. After each subreport, I need to insert a page break so that each subreport starts on a new page and doesn't share pages with the other subreports. Does anyone know how to do this? Thanks

like image 622
MikeTWebb Avatar asked Jul 12 '10 17:07

MikeTWebb


People also ask

How do I remove a page break in SSRS?

If you're trying to display report data in one page, it is simple to do in SSRS. All you have to do is select an entire table and then go to the property pane. Update KeepTogather = True. Show activity on this post.

What is a paginated report in SSRS?

Paginated reports are designed to be printed or shared. They're called paginated because they're formatted to fit well on a page. They display all the data in a table, even if the table spans multiple pages. They're also called pixel perfect because you can control their report page layout exactly.

How do you add a border to a report?

Right-click in the header outside any items in the header, and click Header Properties. On the Border tab, add a left, top, and right border with the style you want. If your report doesn't have headers, you can place borders around just the report body, or you can add headers from the Insert tab.


1 Answers

I found an answer. Use a Rectangle at the bottom of each SubReport after all Tablixes and other rendering Objects. Then set its "PageBreak" property to "End". When the SubReport is finished with the Tablix and/or other data objects, the Rectangle forces a page break. Also, a cool feature, if the SubReport returns no rows of data, the page break is not rendered. Therefore, no extra page breaks

like image 141
MikeTWebb Avatar answered Sep 30 '22 18:09

MikeTWebb