Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / SSRS

SSRS - Page Break

4.00/5 (3 votes)
23 Apr 2012CPOL 40K  
Customize SSRS Page Break

Customize Page Break
1)Right click the data row, choose Add Group -> Row Group - Parent Group.
Image 1

2) Tablix group pop window will be appear, click "fx" button, to enter  the below code (page break by every 30 rows)
= CEILING(RowNumber(Nothing)/30)
Press OK button.

Image 2

3) Right click over the Group1, select the Group Properties, Popup window will be appear.

Image 3

Change Name (General), Checked "Between each instance of a group" (Page Breaks)


Image 4
Press OK button.

3) Once again, Right Click the data row, choose Delete Columns. Select "Delete columns only". Press OK button.
Image 5  


That's is, your customize page break is done.

Row background color
Each row either white or wheat background color, select row details, set the below code in backgroundcolor properties.

 =IIF(RowNumber(Nothing) mod 2, "Wheat", "White")

 

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)