Crystal Report Row添加公式 [英] Crystal Report Row Add Formula

查看:60
本文介绍了Crystal Report Row添加公式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在水晶报告中有一行>我必须总结这些数字并总计。我怎么能这样做,请帮助我。

2008 2009 2010 2011 2012 2013总计

15 16 20 5 34 20 = 110

I have a row like in crystal Report> I have to sum the numbers and set them in total.How can I do this, please help me.
2008 2009 2010 2011 2012 2013 Total
15 16 20 5 34 20 = 110

推荐答案

在水晶报告中执行以下操作:

1.打开野外资源管理器

2。右键单击公式字段

3.创建新的,给出名称并单击使用编辑器按钮



右键单击该公式字段并单击编辑

4.add报告字段(2008 2009 2010 2011 2012 2013),您希望通过双击上部窗口中显示的字段来获得总和。在它们之间插入'+'。结果为

{source.2008} + {source.2009} + {source.2010} + {source.2011} + {source.2012} + {source.2013}



5.在报告中保存并拖动公式字段。



如果你对这些步骤感到困惑那么你应该首先google一下'水晶报告中的公式字段'和'在水晶报告中添加字段值'。
In crystal report do the following :
1. Open field explorer
2.right click on formula field
3. create new ,give name and click on 'use editor' button
or
right click on that formula field and click edit
4.add reports fields (2008 2009 2010 2011 2012 2013) which you want to get sum with double click on fields shown in upper window. insert '+' between them. resulting as
{source.2008} + {source.2009} + {source.2010} + {source.2011} + {source.2012} + {source.2013}

5. save and drag formula field in report.

if you have confusion on thease steps then you should first google about 'formula fields in crystal report' and 'adding fields value in crystal report'.


这篇关于Crystal Report Row添加公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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