Page 1 of 1

how to use cSumRunning in a Variable

Posted: Thu Mar 10, 2011 4:00 am
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



how to use cSumRunning in a Variable

Posted: Thu Mar 10, 2011 5:32 am
by Ivan
Hello,

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

Thank you.