Page 1 of 1

cumulative Total

Posted: Tue Dec 11, 2007 8:49 am
by ramesh
Hi All,

I have Problem with the cumulative Total.

In that DataBand i created the Two Columns first is Total(Column1), second Field

is Cumulative Total(Column2). in the every row render cumulative total should generate?

i want report like this


Total Cumulative Total
----- -------------------
101 101
105 206
107 313
55 368


how to do this?

thanks in advance


cumulative Total

Posted: Tue Dec 11, 2007 11:44 am
by Guest
You should create a variable(for example - "cumulativeTotal") in the Dictionary. Then in the RenderingEvent of the databand you can write something like this:

Code: Select all

cumulativeTotal+=dataSource.Column1;
After then you can use use this variable in expressions.

Thank you

cumulative Total

Posted: Tue Dec 11, 2007 10:59 pm
by ramesh
Hi Pavel,

thanks for your time.

i tried in that way but not working, no value printed at run time.

in the Text events no events triggered.

is there any problem.


thanks in advance


Note:

stimulsoft Version is : 1.40


cumulative Total

Posted: Wed Dec 12, 2007 12:30 am
by Vital
Please send your report to support@stimulsoft.com for examination.

Thank you.