cancel
Showing results for 
Search instead for 
Did you mean: 

Insert blank page based on condition

Former Member
0 Kudos

In certain conditions we need to print the pages:

FIRST NEXT BLANK NEXT BLANK etc.

in other instances we need to print the pages:

FIRST NEXT NEXT etc.

I've tried the NEW-PAGE command(with condition) in the main window which exists on the FIRST and NEXT page of the Smartform. This prints a single blank page at the end of the document.

Accepted Solutions (0)

Answers (2)

Answers (2)

varma_narayana
Active Contributor
0 Kudos

Hi..

For checking the condition use:

/: IF <COND>

/: ENDIF

To trigger a Page break use:

/: NEW-PAGE [PAGENAME]

<b>reward if Helpful.</b>

Former Member
0 Kudos

Hi,

You need to write the condition NEW-PAGE in the specific line which needs to print the page in between Second and last page, you can use the condition for this one

Regards

Sudheer