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: 

Smart Form Implicit Vs Explicit Page Break

former_member410057
Discoverer
0 Kudos
135

Hi All,

In Main window using Table i am displaying Line items. Requirement is if a particular field, say 'Page_Break' is set value 'X', then print it in fresh page. I can able to do that using Command Node.

Issue is, if suppose first line item (either in first page or subsequent page), is having that Page Break flag, then i should not trigger explicit page break, which will results in blank main window page.

How to achieve this?

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos
70

You should save the last page processed in some variable ("last_page = sfsy-page.") during item processing, only trigger new page (at start of item processing, condition "last_page = sfsy-page.") when the page has already processed one item.

former_member539238
Participant
0 Kudos
70

Try using Not on first page in conditions tab of the command.