cancel
Showing results for 
Search instead for 
Did you mean: 

displaying Sub-total per page using Template in smartforms

Former Member
0 Kudos

good day experts!

i have a question regarding getting and displaying subtotal per page...

Im using template instead of tables. i know in tables in calculation tab you can define on how to get

the total and subtotal.... But in template i have no idea...

please help on how can i achieve in getting the subtotal per page when using template...

thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you are using Template, then only way would be to calculate explicitly in a code just before the footer line or if you in a loop just after you loop try to add the field into a local variable and print that and clear that variable just after you print your footer(after the footer line)

Former Member
0 Kudos

hello...

yes currently im working under loop...

this is the exact flow of my SF...

1.main window

2.Loop condition

3.Alternative condition [for header display]

True: Template Top header

False

4.Template Data -


> Name, Monthly amortization, HDMF number

5.Alternative condition [for Footer]

True: Template footer -


> subtotal display per page

False

How can i exactly get the sub total per page because i define each page will contain

39 entries... I have a total of 78 entries in my itab so i have 2 pages... but when i try to

get the subtotal i getting the total of my 78 entries....

please help

Answers (0)