Click here to Skip to main content
15,881,715 members
Articles / SSRS
Article

SSRS - Page Break

Rate me:
Please Sign up or sign in to vote.
4.00/5 (3 votes)
23 Apr 2012CPOL 39.4K   3   4
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)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionNo row captions after pagebreak Pin
Rene Kadner13-Jul-16 6:03
Rene Kadner13-Jul-16 6:03 
QuestionProblem with SSRS Authentica​tion - don't want to use Custom Authentica​tion - Please guide Pin
Member 1069685125-Mar-14 4:26
Member 1069685125-Mar-14 4:26 
GeneralMy vote of 4 Pin
angelartrapp20-Jun-13 4:32
angelartrapp20-Jun-13 4:32 
QuestionGood Article Pin
G.Suman Babu25-Apr-12 2:35
G.Suman Babu25-Apr-12 2:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.