cancel
Showing results for 
Search instead for 
Did you mean: 

coding for page-break after every 6 lines in smartforms

Former Member
0 Kudos

i need a detailed description about page-break in smartforms asap.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

define the highth of mainwindow = 6lines highth

Former Member
0 Kudos

before that you should declare a variable which keeps track of the no of loops, couner.

COMPUTE cnt1 = counter MOD 6.

if cnt1 = 0.

fLAG = 'X'.

ENDIF.

COUNTER = COUNTER + 1.

Put a command node in main window . IT WILL GO TO NEXT PAGE IF CONDITION FLAG = 'x' IS SATISFIED.

mallick

Former Member
0 Kudos

you can use a command node

set the go to page to your required page

put the conditons for pagebreak in the conditions of the command

Otherwise Page break happens automitically in Main Window once the height og main window has been filled

former_member196280
Active Contributor
0 Kudos

Create command node in your smartform and place your condition when you want the page break.. now tick the check box go to page number and give the page name.

Reward points if useful.

Regards,

SaiRam