now i am doing some work on smartforms..
i had one problem..
i wnt ot display a table with page totals and grand total at end..
every thing is comming right ..exp... page totals..
in page total ..the ampunt in page total is geting wrong..
it also includes the nest page first record also..so it is giving wrong totals..
i am using global parameters for that and for displaying i am using table footer..
can any one help me to shoot it out..
Tnanks and Regards,
the next record also gets included as the data is there in the header. so declare a variable,say var1 as global parameter and just before displaying in the footer take the itab_field-value into this variable. then subtract this variable from the variable used for the total,say v_total. make sure u assign var1 to v_total in the header.now each time before printing in the footer the next page value is subtracted and is added in the header part for the next page. i tried it and it is working fine