如何在Crystal Report中将double数据类型的列求和? [英] how to sum of a double datatype column in crystal report ?

查看:70
本文介绍了如何在Crystal Report中将double数据类型的列求和?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要Windows窗体(vb.net''08).
我需要以下代码:
我在SQL Server 2005中有一列称为 total 的列是double(数据类型). 如何在Crystal Report中汇总此字段或列?
请给我这种帮助,以便我解决.

I want this for a windows form(vb.net ''08).
I want a code for:
I have a column calld total that is double (datatype) in sql server 2005.
How can I sum this field or column in crystal report?
Please give me such kind of help so I can solve it.

推荐答案

选项1:
形成查询,以便您将总计作为查询结果本身中的一个字段. (在T-SQL中使用SUM)

选项2:
您也可以选择汇总报告中的字段.您可以使用它并显示总计.
Option 1:
Form the query such that you have the total as one field in query result itself. (using SUM in T-SQL)

Option 2:
You have an option to sum up fields in report too. You can use that and show the total.


Neeil写道:

如何对该字段求和或水晶报表中的列?
请给我这种帮助,以便我解决.

How can I sum this field or column in crystal report?
Please give me such kind of help so I can solve it.



在这里你

在一个水晶报表 [ ^ ]



Here you go

make total of a single column in a crystal report[^]


这篇关于如何在Crystal Report中将double数据类型的列求和?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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