OfficeDataSourceObject.Move Method
Moves a record in a return set from a OfficeDataSourceObject object from one position to another.
Syntax
expression.Move(MsoMoveRow, RowNbr)
expression A variable that represents an OfficeDataSourceObject object.
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| MsoMoveRow | Required | MsoMoveRow | A constant specifying which row to move. |
| RowNbr | Optional | Integer | The number of the destination row. |
Return Value
Integer
Example
The following example moves the first row in the set of records to the third row.
| Visual Basic for Applications |
|---|
|