Application Development and Automation 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: 
Read only

Blank Page in Smartforms

Former Member
0 Likes
540

Hi,

I am printing the Process orders with operation details. The internal table has 4 records(say for e.g.). Each record should be printed on a new page. To ensure that I trigerreed a new page after every loop. However, this results in a blank page being also printed after the 4th record. How can I avoid the last blank page from geting printed ??

Thanks in adavance,

Anand

Hi,

I am printing the Process orders with operation details. The internal table has 4 records(say for e.g.). Each record should be printed on a new page. To ensure that I trigerreed a new page after every loop. However, this results in a blank page being also printed after the 4th record. How can I avoid the last blank page from geting printed ??

Thanks in adavance,

Anand

2 REPLIES 2
Read only

franois_henrotte
Active Contributor
0 Likes
396

you should remove the trigger, and just place a folder node that will contain everything about a process order - then in this node you set the checkbox "Page protection" in tabstrip Output options

Read only

0 Likes
396

in the initialization phase, count the number of lines of the table (g_lines).

in the table, data tab, tick event on sort end.

under the event on sort end, add a command new page.

set value for goto page to your next page.

while looping, count the number of lines (g_count).

in the conditions tab for the command, set condition to g_lines ne g_count.

i hope it helps.