我如何限制行数在表中,而设计RDLC报告? [英] How do I limit the number of rows in a table while designing a rdlc report?

查看:163
本文介绍了我如何限制行数在表中,而设计RDLC报告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的Windows桌面应用程序的开发。结果
我在我使用一个表来显示的项目设计在RDLC文件的报告。表按记录数自动扩展。



我要的显示限制在该表中的最多10个的纪录。我如何做到这一点。


解决方案

您必须遵循几个步骤:




第1步:右击你的表(旁边的第一列第二行),然后选择添加集团 -
步骤2:在添加组 - 选择母集团 -
第3步:在那里,您需要点击 FX 并添加此 - =天花板(ROWNUMBER(无) 。/ 10)结果
第4步:单击确定,然后右键单击刚刚创建的组。给一个名称,将其结果
第5步:选择第二个选项PageBreaks,并检查组的每个实例之间结果
第6步:点击排序和删除已有的排序。这就是它结果
步骤7:删除新的分组列。




我重视图像步骤1:





I am new to windows desktop application development.
I am designing a report in an rdlc file in which I am using a table to display the items. The table expands automatically as per the number of records.

I want to limit the display to a maximum of 10 record in that table. How do I achieve this?

解决方案

You will have to follow few steps:

Step 1: Right Click on your Table(that is next to First Column, Second Row) and Select Add Group
Step 2: Under Add Group - Select Parent Group
Step 3: There you need to click on fx and add this - =Ceiling(Rownumber(nothing)/10).
Step 4: Click Ok and right click the group just created. Give a name to it.
Step 5: Select 2nd option PageBreaks and check 'Between each instance of group'
Step 6: Click on Sorting and Delete exisiting sorting. Thats it.
Step 7: Delete the new Grouping Column.

I have attached image for Step 1:

这篇关于我如何限制行数在表中,而设计RDLC报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆