cumulative Total

Сonversation on different topics
Post Reply
ramesh
Posts: 6
Joined: Thu Oct 25, 2007 11:41 pm
Location: chennai

cumulative Total

Post 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

Guest
Posts: 182
Joined: Tue Jun 06, 2006 8:04 am

cumulative Total

Post 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
ramesh
Posts: 6
Joined: Thu Oct 25, 2007 11:41 pm
Location: chennai

cumulative Total

Post 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

Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

cumulative Total

Post by Vital »

Please send your report to support@stimulsoft.com for examination.

Thank you.
Post Reply