简体   繁体   English

如何在VS2010 RDLC报表中添加组页脚

[英]How To add Group Footer in VS2010 RDLC Report

如何在“ VS2010 RLDC”中创建的组中添加“组页脚”摘要行。

At the bottom of the designer there are Row Groups and Column groups Click the arrow next to Row Groups and click "Add Total". 在设计器的底部,有行组和列组。单击行组旁边的箭头,然后单击“添加总计”。 This adds a footer row... 这将添加一个页脚行...

BUT BE aware... 但是要注意...

If you do this on the outermost group, it adds a "Report Footer" showing the totals for ALL the groups, not per group. 如果在最外面的组上执行此操作,则会添加“报告页脚”,以显示所有组(而不是每个组)的总计。 If you do it on an inner group it adds a "Group Footer" which gives you sub totals for each of the sub groups. 如果在内部组上执行此操作,则会添加“组页脚”,从而为您提供每个子组的总计。

You can also right click on the details row (the one with 3 horizontal lines it the far left box) and go Insert Rows->Below... If you have an inner group and an outer group this adds a "Group Footer" (I have not tested it without the outer group yet). 您还可以右键单击详细信息行(最左边的框中有3条水平线的行),然后转到“插入行->下方...”。如果您有内部组和外部组,则会添加“组页脚”(如果没有外部团队,我尚未进行测试)。

HowToAddFooterMethod2

Here is a quick and dirty diagram (sorry about the quality) showing all the parts once you get them set up so it'll make more sense) 这是一个快速且肮脏的图表(质量不好),显示所有零件的设置,以便您理解。

AllPartsDiagram

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

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