cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform Subtoals calculation error

Former Member
0 Kudos

Hi,

I have a certain problem in calculating subtotals, I am using the table node to print the line items, I am calculating the subtotals by adding a program line to the amount field , and then adding the amount value to a variable. the smart-form does not show appropriate subtotals in some cases.

For e.g, there are 3 line items printed on the first page, but the subtotals is shown for 4 line items in the first page, I assume this is because I have used the table node, the smart form loops and then realizes there is not space for the fourth line item, but the in the subtotal is already calculated, I need a solution for this issue.

thanks,

Rahul

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI Rahul,

I guess you should write subtotal in footer of the table and at runtime it will automatically prints correct value at page break.

Let me know if you need any more detail.

Thanks and Regards,

Vijay

Former Member
0 Kudos

I need to pass this subtotal of the first page to the next, If I print the subtotal at the footer, it would print it at the last page, I have 4 pages being printed, I need the subtotals to be calculated to the number of line items being printed on a certain page.