How to page break after specific row(Suppose 25 ro

2019-01-17 08:59发布

How to page break after Specific rows (like 15 rows) in rdlc reporting.

4条回答
Lonely孤独者°
2楼-- · 2019-01-17 09:17

It's so easy.Suppose My reports looks like

enter image description here

Enable advance mode

enter image description here

Add a group for page break

enter image description here

Define the number of rows what do you want in the group expression(In this case i want 15 rows)

enter image description here

Delete group column if you not need

enter image description here enter image description here

Delete Expression from Group details

enter image description here enter image description here

Select Group Properties and set page break attribute breakLocation as End,Disables as false and RestPageNumber as fasle.

enter image description here

Select Group Details Properties and Set Disable=true

enter image description here

Now here's the report with page break after specific row

enter image description here enter image description here

If You want to keep Table Header in every page than click here

查看更多
姐就是有狂的资本
3楼-- · 2019-01-17 09:21

Maybe you can use a rectangle with pagebreak, the rectangle is able to define a fixed heigth

查看更多
Luminary・发光体
4楼-- · 2019-01-17 09:43

What I did was create another property on your object called lineBreak or something. when loading the objects make sure every 25 has the same number and increment by 1. then in table put a group over the details, grouping on lineBreak. then add an extra line inside that group, then every 25th row should be a blank line.

查看更多
女痞
5楼-- · 2019-01-17 09:44

You can add Row Group to your Tablix. Then in row group properties select Page Break section and set "Between each instance of a group".

查看更多
登录 后发表回答