Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform - Not on last page

Former Member
0 Kudos

Hi All,

I have a smartform which needs to print PTO on everypage except the last page.

I now how to stop the text printin on the first page or only on the last page but how do you stop it printing on the last page ?

Thanks

Jim

2 REPLIES 2

Vinod_Chandran
Active Contributor
0 Kudos

Hi Jim,

You have to set a flag when the MAIN window is over. This means it is the last page. If the flag is set do not display 'PTO'.

Thanks

Vinod

Former Member
0 Kudos

compare System Fields PAGE and FORMPAGES

if PAGE EQ FORMPAGES

STOP TEXT PRINT

ELSE

PRINT