Hello,
If I understand correctly, you want add page break in the report based on the row number. In SSRS 2008, we can use group page break to work around the issue.
Please refer to the following steps:
- Add a table in report body, add several fields in the report.
- Right click “(Details)” in the Row Groups dialog box, select Add Group -> Parent Group (Group1) with following expression:
=Ceiling(RowNumber(Nothing)/5) - Right click Group1 in the Row Groups, select Group Properties.
- Click Page Breaks in the left pane. Select “Between each instance of a group” option.
- Click Sorting, then delete the sort which is based on Group1.
If you have any questions, please feel free to ask.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support
No comments:
Post a Comment