Move Method

Moves the cursor to the first, last, next, or previous record in a Recordset object.

RecordsetObject.Move(MoveOption)

Client support

   Newlook Smartclient

   Newlook Server

Use

When the current record is the last record in a Recordset object, moving to the next record will position the cursor after the last record and the EOF property will be set to True. When the EOF property is True, moving to the next record will generate an error.

When the current record is the first record in a Recordset object, moving to the previous record will position the cursor before the first record and the BOF property will be set to True. When the BOF property is True, moving to the previous record will generate an error.

Moving to the first or last record in a Recordset object generates an error if both the BOF and EOF properties are True, i.e. the Recordset object contains no records.

Arguments

Move Option  -  (Expression, Required)

Specifies how the cursor should move in the Recordset object. Use one of the following pre-defined Move Option constants.

Applies To

DB Recordset object

See Also

DBConnect Method | Open Method | Disconnect Method | Close Method | Find Method | Move Method | AddNew Method | BeginTrans Method | CancelUpdate Method | CommitTrans Method |Delete Method | RollbackTrans Method | Seek Method | Update Method | ConnectionString property | DB Connection object


© 2004-2021 looksoftware. All rights reserved.