Skip to Content
0
Former Member
Apr 24, 2009 at 08:47 AM

How to print grandtotal in table footer only in the last page in SMARTFORMS

597 Views

Hello Experts,

How do I print the GRANDTOTAL in the table footer only on the LAST PAGE in SMARTFORMS.

What I have done is in the text element of CELL1 of the table footer i wrote the folowing logic but not working.


/: IF &SFSY-PAGE& EQ &SFSY-FORMPAGES&.
* V_SUM.
/: ENDIF.

I even tried this.


/: IF &NEXT-PAGE& EQ 0. 
* V_SUM.
/: ENDIF.

but still it displays the grand total on all pages at table footer.

How do i go for this experts.

Regards,

Ranjith N