水晶报告公式 [英] Crystal Reports Formula
本文介绍了水晶报告公式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有两列Amt,来自数据库的SchCode
数据是
Amt SchCode
123.34 1
435.44 1
435.45 2
334.46 1
2234.4 2
i希望显示其中schcode = 1的总和与总和的差值 Amt哪里Schcode = 2在水晶报告的变量中。我怎么能这样做..
请建议我。
解决方案
创建一个包含schcode的组,
创建摘要
- 总和的字段:amt
- 怎么做:总和
- 地点:以前创建的团队
你会得到
SchCode Amt
1 1001.24
2 2669.85
Hi all,
I have two columns Amt,SchCode coming from database
Data is
Amt SchCode
123.34 1
435.44 1
435.45 2
334.46 1
2234.4 2
i want to display difference of "sum of Amt where schcode=1 and sum of Amt where Schcode=2" in variable of crystal report.How can i do this..
Please suggest me.
解决方案
Hi,
create a group with schcode,
create a summary
- field to sum: amt
- what to do: sum
- place: group previously created
You'll get
SchCode Amt
1 1001.24
2 2669.85
这篇关于水晶报告公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文