如何使用C#.net在Crystal报表中使用字段总和 [英] How to use sum of field in crystal report using C#.net
本文介绍了如何使用C#.net在Crystal报表中使用字段总和的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用vs2008,ms access和带有水晶报表的c#.net.
我想在水晶报表中做字段总和.
任何建议或想法都将是正确的...
示例-金额
------
10
10
10
------
总计30
mukesh
Hi,
I am using vs2008,ms access and c#.net with crystal report.
i want to do sum of field in crystal report.
any suggesstion or idea will be apprecieate...
example - amount
------
10
10
10
------
total 30
mukesh
推荐答案
在这里您要走
Crystal Reports Sum Function [ Crystal Report SUM公式问题 [在Crystal Report中汇总一列 [ ^ ]
Here you go
Crystal Reports Sum Function[^]
Crystal Report SUM formula problem[^]
Make total of a single column in a crystal report[^]
1.在水晶报表的字段浏览器中,添加一个新的公式字段.
2.为您的公式指定一个名称,然后按使用编辑器"按钮.
3.在公式空间中输入以下内容:Sum({您的列名}).
4.保存此字段并将其添加到您的报告中.
1. in your crystal report''s field explorer, add a new formula field.
2. assign a name to your formula, and press the use editor button.
3. type this in the formula space: Sum ({your column name}).
4. save and add this field to your report.
这篇关于如何使用C#.net在Crystal报表中使用字段总和的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文