在组头Crystal报表的细节SUM [英] SUM of the details in group header Crystal reports

查看:202
本文介绍了在组头Crystal报表的细节SUM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我产生了ASP.NET/C#网站上的水晶报表。我需要在组头中的GroupWise的总和,当我添加的总和场(运行总计字段)显示记录的第一项有任何方式显示在同一组的头在细节总数的所有记录?

I am generating the crystal report in the ASP.NET/C# Website. I require the groupwise sum in the header of the group, When I add the SUM field (Running Total Field) shows the first entry of the records is there any way to show the total of all records in details in the header of the same group?

推荐答案

运行总计不会在组页眉节的工作,因为他们评估的方式。相反,你可以只使用一个普通的汇总函数,并将其放置在组头。

Running Totals won't work in a Group Header section because of the way they are evaluated. Instead, you could just use a regular summary function and place it in the Group Header. You can do this by either right-clicking the field to summarize, selecting "Insert", and then "Summary" or by creating a formula:

SUM({table.field_to_summarize},{} table.field_you_are_grouping_on)

这篇关于在组头Crystal报表的细节SUM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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