how to use cSumRunning in a Variable

Stimulsoft Reports.NET discussion
Post Reply
ali.rafati
Posts: 1
Joined: Thu Mar 10, 2011 3:43 am
Location: iran

how to use cSumRunning in a Variable

Post by ali.rafati »

i want to calculate to certain value for example x-y and im using cSumRunning in a Variable
(cSumRunning(db.Money1 - db.Money2) but i recive following error:
C:\Documents and Settings\User\Local Settings\Temp\jyeo4umc.0.vb(263,0) : error BC30455: Argument not specified for parameter 'name' of 'Public Shared Function Sum(data As Object, report As Stimulsoft.Report.StiReport, name As String) As Decimal'.

C:\Documents and Settings\User\Local Settings\Temp\jyeo4umc.0.vb(263,0) : error BC30455: Argument not specified for parameter 'report' of 'Public Shared Function Sum(data As Object, report As Stimulsoft.Report.StiReport, name As String) As Decimal'.
********************************************
i cant also use IIF cSumRunning in the following command:

{IIF(cSumRunning(db.Money1 - db.Money2) > 0 , "Money1" , "Money2")}

to calculate the total values in all columns of a page but when i use it whout Running and IIF it works


Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

how to use cSumRunning in a Variable

Post by Ivan »

Hello,

Can you please send us a sample report with data, which reproduces the issue?

Thank you.
Post Reply