SumRunning(DataTable,Table.CREDIT)

Stimulsoft Ultimate discussion
Post Reply
ElhamJ
Posts: 1
Joined: Wed Oct 24, 2012 8:26 am

SumRunning(DataTable,Table.CREDIT)

Post by ElhamJ »

Hi
pls help me:
I have a report:
i want to limit my lines per page.
so i add this code to my dataTable rendering
___________________________________

myvariable += 1;
if (myvariable > 26)
{
myvariable = 1;
this.Engine.NewPage();
}
____________________________________
its working good.but i have a {SumRunning(DataTable,Table.CREDIT)} in my footerBand.
it dont sum last row of my page.
for example:
CREDIT
-------------
2
4
5
1
3

{SumRunning(DataTable,Table.CREDIT)} show 12.dont calculate 3.why?
thank you
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: SumRunning(DataTable,Table.CREDIT)

Post by HighAley »

Hello.

Please, send us a sample report template with data which reproduces the issue.

Thank you.
Post Reply