如何在 VS2010 RDLC 报告中添加组页脚 [英] How To add Group Footer in VS2010 RDLC Report

查看:65
本文介绍了如何在 VS2010 RDLC 报告中添加组页脚的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何向我在 VS2010 RLDC 中创建的组添加组页脚"摘要行.

How do I add a "group footer" summary row to a group I've created in 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...

但要注意...

如果您在最外面的组上执行此操作,它会添加一个报告页脚",显示所有组的总数,而不是每个组的总数.如果您在内部组上执行此操作,它会添加一个组页脚",为您提供每个子组的小计.

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.

您也可以右键单击详细信息行(最左侧框中有 3 条水平线的行)并转到 Insert Rows->Below... 如果您有一个内部组和一个外部组,这将添加一个组页脚"(我还没有在没有外部组的情况下对其进行测试).

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).

这是一个快速而肮脏的图表(对质量感到抱歉)显示了所有部件,一旦你设置好它们就会更有意义)

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)

这篇关于如何在 VS2010 RDLC 报告中添加组页脚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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