Page 1 of 1

Sum of Page + previous pages

Posted: Mon Nov 01, 2010 4:43 am
by Van_M
Hello
I am currently evalueating StimulSoft WPF for the company I work for.
I wonder, can I get sum of previous pages at the page header and sum of the previous pages plus sum of the current page at the page footer?
Thank you for your time.


--EDIT: Perhaps i have to phrase my question in a better way.
In my report I want to have the following:
1) A group header that is shown in every page except the first one. It shows the total sum of all the previous pages for a data column.
2) A Databand containing data for the column.
3) A group footer that is shown on each page except the last one. It shows the total sum for the column + total sum of all the previous pages for the column.

Is the above feasible?The difficulty I am facing is when it comes to getting the sum for the previous pages while I handle the data of the current page.

Pardon me for my poor English.
Thank you for your help.

Sum of Page + previous pages

Posted: Mon Nov 01, 2010 9:46 am
by Van_M
......anyone?
Please?

Sum of Page + previous pages

Posted: Mon Nov 01, 2010 11:30 am
by Jan
Hello,

Please check following topic:

http://forum.stimulsoft.com/Default.aspx?g=posts&t=3757

Thank you.

Sum of Page + previous pages

Posted: Tue Nov 02, 2010 8:14 am
by Van_M
Thanks for your reply
The example report that you provided gives me an exception so I can't run it, but from what I see in the designer, there are page totals and report totals.
This is not what I am looking for.

I need total for the previous pages of my report on my report header. Is there any way I can get that?
Any kind of expression that provides for such a thing?
Is there any expression that gives me the current page's first row number so I can calculate total of rows that have smaller rownumber than the page's first one? (I do have a distinct field in my datasource).
Many thanks

Sum of Page + previous pages

Posted: Wed Nov 03, 2010 1:10 am
by Alex K.
Hello,

Please see the sample report in attachment.
Let us know if you need any additional help.

Thank you.

Sum of Page + previous pages

Posted: Fri Nov 05, 2010 5:23 am
by Van_M
This worked perfectly!
Thank you very much for your help.
Kind Regards

Sum of Page + previous pages

Posted: Fri Nov 05, 2010 5:32 am
by Alex K.
Hello,

We always glad to help you.
Let us know if you need any additional help.

Thank you.

Re: Sum of Page + previous pages

Posted: Tue Nov 06, 2018 7:34 am
by poonemim
cant find demo.xsd file would u plz put it for download

Re: Sum of Page + previous pages

Posted: Wed Nov 07, 2018 3:22 am
by Andrew
Hello,

You need to install the product (download page https://www.stimulsoft.com/en/downloads) and then find the demo.xsd by the following path c:\Users\YourUserName\AppData\Local\Stimulsoft\Demo-Reports-201*.*.*\.stimulsoft\data\

Thank you.