Inserts one or more columns to the left in a Word table.
The cursor must be inside a table.
The columns are inserted to the left of the column where the cursor is.
Syntax
CHGVAR VAR(&CMD)VALUE('WINSERTCOL')
CHGVAR VAR(&PARM1)VALUE('[NbCols]')
CHGVAR VAR(&PARM2)VALUE(' ')
CALL PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 +
&PARM2 &RESULT)
MONMSG MSGID(LNC0000) EXEC(GOTO CMDLBL(ERROR))
Parameters
Parameters |
|
Parm1 |
Number of column to be inserted. 1 column is the default value. |
|
Example
CHGVAR |
VAR(&CMD) VALUE('WINSERTCOL') |
CHGVAR |
VAR(&PARM1) VALUE('4') |
CHGVAR |
VAR(&PARM2) VALUE(' ') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 + &PARM2 &RESULT) |
MONMSG |
MSGID(LNC0000) EXEC(GOTO CMDLBL(ERROR)) |
See also