从Visual Studio10运行时Crysta report10中的平均功能 [英] Average funtion in Crysta report10 when run from Visual studio10

查看:91
本文介绍了从Visual Studio10运行时Crysta report10中的平均功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在SAP Crystal Report10中,
我用那个公式.

In SAP Crystal Report10,
i use that formula.

numbervar tsecs := average ({GetCallsByGroup;1.Duration}) 



当我从Visual Studio 10加载Crystal报表时,它显示错误消息



It shows error message

A number of currency field is required here

.
尽管我更改了公式,

when I load the crystal report from Visual Studio 10.

Although i change the formula,

numbervar tsecs := ToNumber(average ({GetCallsByGroup;1.Duration}))


它显示相同的错误消息.

你能帮我吗?

预先感谢.


It shows the same error message.

Could you please help me.

Thanks in advance.

推荐答案

尝试
numbervar tsecs := average(ToNumber({GetCallsByGroup;1.Duration}))


因为在average之前,您应该将其转换为Number


Because before average you should convert it into Number


这篇关于从Visual Studio10运行时Crysta report10中的平均功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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