I need to fix a problem in a Sapscript form that has the following pages:
Page Description NextPage Mode No.type
BACK T&C Page NEXT HOLD ARABIC
FIRST First Page BACK INC ARABIC
LAST Last Page of PO HOLD ARABIC
NEXT Subsequent page BACK INC ARABIC
For both Pages BACK and LAST:
Window Description
T_C_FTTR FOOTER FOR THE TERMS & C S
T_C_FULL FULL PAGE FOR THE TERMS & C => Terms and Conditions (Full page)
T_C_LEFT LEFT SIDE FOR THE TERMS & C
T_C_RIGH RIGHT SIDE FOR THE TERMS & C
T_C_TITL TITLE FOR THE TERMS AND C S
This Sapscript should print Terms and Conditions ONLY in the LAST page.
I tried the following codes inside the window T_C_FULL but it did not work:
/: IF &NEXTPAGE& = '0'
Terms and Conditions
/: ENDIF
/: IF &PAGE(3ZC)& = &SAPSCRIPT-FORMPAGES(3ZC)&
Terms and Conditions
/: ENDIF
Obs: Inside the MAIN window, in "LAST" element, there is the code "NEW-PAGE LAST" into "protected" block.
After lot of tests, or the Terms and Conditions is printed in every "back/last" pages or any of them.....
Any help?????
Thank you.
Trmelara