Table of contents
TOC
Collapse the table of content
Expand the table of content

OfficeDataSourceObject.Move Method (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

NameRequired/OptionalData TypeDescription
MsoMoveRowRequiredMsoMoveRowA constant specifying which row to move.
RowNbrOptionalIntegerThe 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.

oOdso.Move(msoMoveRowFirst, 3)

See also

Concepts

OfficeDataSourceObject Object

Other resources

OfficeDataSourceObject Object Members

© 2018 Microsoft