Hi
I use this sentence in Begin Render event but get error of "No overload for method 'Sum' takes '4' arguments"
SumDebit = SumIf(GroupHeaderBand1,ACC040101.Debit,String.Compare(ACC040101.Date , ToDate) <= 0)
SumDebit and ToDate are variable.
Please help me
Tanks
Mehrdad
error in SumIf
error in SumIf
Hello Mehrdad,
You can't use SumIf function in code. Please use following code:
Thank you.
You can't use SumIf function in code. Please use following code:
Code: Select all
SumDebit = Totals.Sum(GroupHeaderBand1, String.Compare(ACC040101.Date , ToDate) <= 0 ? ACC040101.Debit : 0)