在.net中计算Crystal Report中字段总和的问题 [英] Problem in calculating the sum of a field in Crystal Report in .net

查看:87
本文介绍了在.net中计算Crystal Report中字段总和的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用.net 2005.

我正在使用公式字段来计算名为"金额"的数据库字段的总和。在水晶报告中。

它是整数字段。

我正在使用公式作为
"Sum({Details.Amount})"


查看报告时,它会显示错误消息,如"需要数字或货币字段"。并且它没有给出该字段的总和。

如果使用其他内容,例如"Maximum({Details.Amount})"它的工作正常。

那是什么解决方案?


I am using .net 2005.

I am using the Formula Field for calculating the sum of a database field called "Amount" in crystal report.

It is the integer field.

I am using the formula as
"Sum({Details.Amount})"

While viewing the report it is giving the error message as
"Number or Currency field is required" and it is not giving the Sum of that field.

If is use other things Like "Maximum({Details.Amount})" it is working fine.

What is the solution for that?


推荐答案

我正在从Crystal Reports论坛的WinForm论坛。我相信这里有更多Crystal Reports专家。
I am moving this thread from the WinForm forum to the Crystal Reports forum. I believe there are more Crystal Reports experts here.


这篇关于在.net中计算Crystal Report中字段总和的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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