Moves or swaps a column in a two-dimensional array property contained in an advanced type (xlsDocument, etc.).
Syntax
Moving a column in an array property of an advanced type Hide the details
MoveColumn(<WLanguage array> , <Start index> , <Destination index> [, <amMove>])
<WLanguage array>: Array
Name of the Array variable to use. This array must be a two-dimensional array.
<Start index>: Integer
Index of the column to move.
<Destination index>: Integer
New index of the column that was moved.
<amMove>: Optional constant
amMove: Constant used to move a column in an array.
Swapping two columns in an array property of an advanced type Hide the details
MoveColumn(<WLanguage array> , <Index of 1st column> , <Index of 2nd column> , <amSwap>)
<WLanguage array>: Array
Name of the Array variable to use. This array must be a two-dimensional array.
<Index of 1st column>: Integer
Index of the first column to swap.
<Index of 2nd column>: Integer
Index of the second column to swap.
<amSwap>: Constant
amSwap: Constant used to swap two columns in an array.