cancel
Showing results for 
Search instead for 
Did you mean: 

How to clear subtotal at Page Break

Former Member
0 Kudos

Dear all,

kindly ask you to help solve my problem. For a smartform report I need to calculate subtotal for every page apart.

For example:

Report consist of 3 pages. One column QTY.

Page 1 Page 2 Page 3

QTY QTY QTY

2 1 4

3 6 4

Sub total : Sub total : Sub total :

5 7 8

Total : 20

But now I can only have :

5 - fisrt page subtotal

12 - second page

20 - third (and total)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

After the text node where you printing the Sub total, just insert code lines and clear the Subtotal field.

Hope it works!!

Rgds,

Pavan

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

After in Prints the QTY and if u r printing something else then include program lines and clear the variable so that when it goes to next page it will be cleard. and what u do is do all ur calculations in the initialization so that u will have the total to print in the last page and for each page u calculate the subtotal print and clr.

surya

Former Member
0 Kudos

Solved! Thank you )

Edited by: Baldybess on Oct 23, 2009 9:12 AM