简体   繁体   English

如何限制rdlc报告表中显示的行数?

[英]How to limit number of rows displayed in a rdlc report table?

In my rdlc report, I used Report Item Table only. 在我的rdlc报告中,我只使用了报告项目表。 When I generate report there has so many rows. 当我生成报告时,有很多行。 How to define the row counts for page? 如何定义页面的行数? I mean I want to show 10 rows in one page. 我的意思是我想在一个页面中显示10行。

Thanks, 谢谢,

You want to create a parent group to your current rowset and set its group expression to =Int((RowNumber(Nothing)-1)/10. In the Group Properties you then check the Page Breaks option to "Between groups", (and toggle the visibility). 您想要为当前行集创建一个父组,并将其组表达式设置为= Int((RowNumber(Nothing)-1)/ 10.在组属性中,然后检查分页符选项为“组之间”,(和切换可见性)。
Maybe this MSDN link could be a starting point for you. 也许这个MSDN链接可能是你的起点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM