Xbasic
SQL::RowSnapshotMoveData Method
Syntax
L MoveData( MoveTo as N, MoveFrom as N [, ItemsToCopy as N = 1])
Arguments
- MoveToNumeric
The column index to move the columns.
- MoveFromNumeric
The column index of the first column to move.
- ItemsToCopyNumeric
Optional. Default value is 1. The number of columns to move.
Description
Move a block of one or more column value items within the data collection.
Discussion
Removes a block of ItemsToCopy column values beginning at the column indexed by MoveFrom and places them before the column indexed by MoveTo. Returns true if the columns were moved successfully and false if an error occurred.