2010年Stimulsoft报告中的cSumIf具有多种条件 [英] cSumIf in Stimulsoft Report 2010 ultimate with multi condition

查看:179
本文介绍了2010年Stimulsoft报告中的cSumIf具有多种条件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Stimulsoft Report 2010终极版我将DataBand1绑定到包含以下列的源:



1.Date

2。描述

3.State

4.Price



i想要总结'Price'列的值DataBand1取决于所有页面底部的State列的值(没有最后一页)。我在'PageFooterBand'中也有两个'Text'。



第一个'Text'的值:'State'值的总和等于1或者3或5

第二个'文字'的值:当'状态'的值等于2或4或6时'价格'列的总和我写下波纹管代码并且有错误,请帮助我:



第一篇文章:

i use Stimulsoft Report 2010 ultimate i bind the DataBand1 to a source that has following columns:

1.Date
2.Description
3.State
4.Price

i want to sum the value of 'Price' column in DataBand1 depending on the value of 'State' column in the bottom of all pages(without last page). also i have two 'Text' in the 'PageFooterBand'.

value of first 'Text': Sum of 'Price' column when value of 'State' equals 1 or 3 or 5
value of second 'Text': Sum of 'Price' column when value of 'State' equals 2 or 4 or 6 i write the bellow code and has error,please help me:

For first Text:

cSumIf(DataBand1,DataSource1.Price,DataSource1.State==1||DataSource1.State==3||DataSource1.State==5)



第二篇文字:


For second Text:

cSumIf(DataBand1,DataSource1.Price,DataSource1.State==1||DataSource1.State==3||DataSource1.State==5)

推荐答案

我使用Stimulsoft 2010报告,这是一个错误,我安装stimulsoft 2012并解决它,
I use Stimulsoft report 2010 ,this is a bug in it and i install stimulsoft 2012 and solve it,


这篇关于2010年Stimulsoft报告中的cSumIf具有多种条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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