PreviousNext
Help > Programming with LAUNCHER Office > LNCCMD commands > Commands list > WPAGEBRK command
WPAGEBRK command

Inserts a page break at the current position in the Word document.

In a table, the current line of the insertion point is moved to the next page.

 

Syntax

 

CHGVAR                VAR(&CMD)VALUE('WPAGEBRK')

CHGVAR                VAR(&PARM1)VALUE(' ')

CHGVAR                VAR(&PARM2)VALUE(' ')

CALL                  PGM(LNCCMD) PARM(&HANDLE &CMD &OPT +

                      &PARM1 &PARM2 &RESULT)

MONMSG                MSGID(LNC0000) EXEC(GOTO CMDLBL(ERROR))