help me: sum in FooterBand or groupfooter

Stimulsoft Reports.NET discussion
Post Reply
free2halman
Posts: 2
Joined: Mon Dec 28, 2009 9:08 am

help me: sum in FooterBand or groupfooter

Post by free2halman »

hi
...................................................................
groupheader1
grouphearer2 (Reset Page Number: True)
data
FooterBand1 (Print on: AllPages)
...................................................................

i have many rows that is grouped at 2group band.
i want to have sum of relative rows at each group for example group11, group12, group21, group 22 and ... .
the sum in the groupfooter2 include sum of then all rows that is grouped by grouphearer2 and groupfooter2 for example sum is calculating for group11, group12 , the mismatch for me is in this position, i want to appear the sum of group11 and then group12 and then ...

i want to have the sum of each page of each (grouped rows) at group11, group12, group21, group 22 and ...

like
page{ToString(PageNumber)}of{ToString(TotalPageCount)}of{ToString(PageNumberThrough)}of{ToString(TotalPageCountThrough)}
then show the
number of page in it's group
number of pages count in it's group
number of page at all pages
number of pages count at all pages

excuse me that i can't speak english good.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

help me: sum in FooterBand or groupfooter

Post by Edward »

Hi

For calculation of sum you can use the following expressions:

Sum Running:

{SumRunning(DataBand1,DataSource.DataColumn)}

Sum of page can be calculated as follows:

{cSumRunning(DataBand1,DataSource.DataColumn)}

or

{cSum(DataBand1,DataSource.DataColumn)}

All these sum expressions were generated using 'Summary' tab in the Text Editor. To access this just double click the text box.

Thank you.
free2halman
Posts: 2
Joined: Mon Dec 28, 2009 9:08 am

help me: sum in FooterBand or groupfooter

Post by free2halman »

hi Edward
thanks
but
i want to have the sum of each page of each group section after render at the end of page at preview.
the groopfooterband cant't repeat and apear at then end of all pages and i using the footerband with [print on allpages] that your suggestion dosnot working correctly.
help me if possible.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

help me: sum in FooterBand or groupfooter

Post by Edward »

Hi

Please see 'All Group Footers At End' report in the 'Reports with Groups' section in the Demo.exe sample application.

Thank you.
Post Reply