cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in printing the pagewise total

Former Member
0 Kudos

Hi

I am working on a smartform in which I have to print the subtotal at the end of every page.

But , I am getting the subtotal of the first page along with the amount of the first record of the second page.

This is happening for all the pages.

Can anyone help me in getting this issue solved.

Thanks in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi all,

Thank you

I got it solved.

Former Member
0 Kudos

Hi,

The problem is with clearing of the subtotal variable.

So, try to clear the subtotal variable immediatedly after displaying it.

Create program lines after displaying the subtotal using the text node and then write the code:

clear <sub_total>

Or else:

Go to table controls, "calculations" tab..

In operations Select "Total". Then, give field name and target field name.This may help you in getting the correct total at the end of each page.

Regards,

Kalyani.

Former Member
0 Kudos

Hi srikanth,

In the main window --> table -->footer area --> create the text node for the subtotal and display.

Regards,

Sravanthi

Former Member
0 Kudos

Hi,

See this link u will definitely solves your problem.

[Sub total in Smartform|;

Best Regards

swamy.