使用组名称字段时如何在Crystal Report中获取总计 [英] How to get total in crystal report while working with group name fields

查看:67
本文介绍了使用组名称字段时如何在Crystal Report中获取总计的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何获取CR中每个组字段的特定字段的总计.
例如.
主题标记罗尔诺

{TotalOfMarks A}
A1 50 1
A2 50 2
A3 50 3
B {TotakOfMarks B}
B1 50 1
B2 50 2
B3 50 3

现在
我需要公式,如何分别在{TotalOfMarks A}中获得主题A和B的总分数.

喜欢
sum(Marks,Condition *)

谢谢
swapnil

How to get total of particular field for every group fields in CR.
EX.
Subject Marks Rollno

A {TotalOfMarks A}
A1 50 1
A2 50 2
A3 50 3
B {TotakOfMarks B}
B1 50 1
B2 50 2
B3 50 3

Now
i need formula,how to get total of marks for subject A and B in {TotalOfMarks A} separately.

like
sum(Marks,Condition*)

Thank you,
swapnil

推荐答案

由于您已经定义了组,因此在组页脚中包含了一个将作为标记"字段之和的公式.

HTH
Since you already have the group defined, in the group footer, include a formula that will be a sum of the Marks field.

HTH


感谢ChandraRam
我只是想出了问题.
我想要的是
sum({table.marks,{table.subject}})-----按组求和
但是非常感谢您的回复;-)
Thanks ChandraRam
i just figured out the problem.
What i want was
sum({table.marks,{table.subject}})-----for groupwise sum
But thanks a lot for reply ;-)


这篇关于使用组名称字段时如何在Crystal Report中获取总计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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