MoveFirst Method

Moves the pointer to the first position upon the result of the query.

Applies to objects: Recordset.

Syntax

[[Let] RetVal = ] object.MoveFirst()

The MoveFirst method syntax has these parts:

Part Description
object Required. A reference to an instance of the object.
RetVal Optional. A Boolean type variable, that indicates whether the pointer was moved to the necessary string.

Remarks

The ability of the pointer to move in such way is determined with the help of the CanMove method with the cdbMoveFirst parameter.

Example

.......

 

See Also

Recordset Object, CanMove Method, Move Method, MoveLast Method, MoveNext Method, MovePrevious Method.