Inserts
one or more lines into a Word table.
The cursor must be in a table in the document.
Lines are inserted above the cursor line.
Syntax
CHGVAR |
VAR(&CMD) VALUE('WINSERTROW') |
CHGVAR |
VAR(&PARM1) VALUE(' [Count=Rows number] [;MoveStart=True/False] ') |
CHGVAR |
VAR(&PARM2) VALUE(' ') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 + &PARM2 &RESULT) |
MONMSG |
MSGID(LNC0000) EXEC(GOTO CMDLBL(ERROR)) |
Parameters
Parameters |
|
Parm1 |
Count : Number of lines to insert. Default is 1 line.
Default, current selection remains on the current line (line below inserted lines). |
|
Example
CHGVAR |
VAR(&CMD) VALUE('WINSERTROW') |
CHGVAR |
VAR(&PARM1) VALUE('Count=20') |
CHGVAR |
VAR(&PARM2) VALUE(' ') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 + &PARM2 &RESULT) |
MONMSG |
MSGID(LNC0000) EXEC(GOTO CMDLBL(ERROR)) |
See also