Xbasic

SQL::TableSnapshotMoveRow Method

Syntax

L MoveRow( MoveTo as N, MoveFrom as N [, ItemsToCopy as N = 1])

Arguments

MoveToNumeric

The row index to which the rows with be moved.

MoveFromNumeric

The row number specifying the first row to move. Multiple rows can be moved by specifying the ItemsToCopy.

ItemsToCopyNumeric

Optional. Default value is 1. Number of rows to move starting with the MoveFrom row.

Description

Move a block of one or more row items within the collection of rows.

Discussion

Removes a block of ItemsToCopy rows beginning at the row indexed by MoveFrom and places them before the row indexed by MoveTo. Returns true if the rows were moved successfully and false if an error occurred.