Running total field gives options for Min, Max, etc. but not Sum

一世执手 提交于 2019-12-24 19:29:48

问题


I wants to design Crystal Reports as follow

Name //(Group)


Date                   Amount

12/04/2010             100  

12/05/2010             200

Total….                300

But there are problem on insert Running Total summarize by change of group fields.

I have tried by right clicking on field Insert + Running Total. But there are no option of

Sum in Type of Summery. There are following option :

Type of Summery

Maximum

Minimum

Count

Distinct count

Nth largest

Nth smallest

How can I add/minus/multiply Group Wise ?.


回答1:


Convert the Datatype of Amount column into an integer type and check with database again. In crystal reports the sum will appear only to the number fields and as your post says the Maximum, Minimum, Count, Distinct count, Nth Largest, Nth Smallest will comes only for varchars. check crystal Syntax



来源:https://stackoverflow.com/questions/7316552/running-total-field-gives-options-for-min-max-etc-but-not-sum

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!