move Method

See Also            Applies To

Moves the cursor, relative to its current position, within a Recordset object.

Syntax

object.move(nRecords)

Parameters

object

A Recordset script object.

nRecords

An integer that specifies the number of records to move the cursor. If the value is greater than 0, the position is moved forward (toward the end of the recordset). If it is less than 0, the position is moved backward (toward the beginning of the recordset).

Remarks

Returns True if successful and False if not successful.

Use the move method to move the cursor relative to its current position.

To move the cursor to an absolute position within the recordset, use the moveAbsolute method. Other methods that move the cursor are moveFirst, moveLast, movePrevious, and moveNext.