IDL Programming > Objects > Miscellaneous Object Classes > IDLdbRecordset::MoveCursor

IDLdbRecordset::MoveCursor

Use the IDLdbRecordset::MoveCursor function method to move the cursor in a given recordset.

Syntax

Result = RSobj -> [IDLdbRecordset ::]MoveCursor( [, ABSOLUTE=integer] [, /FIRST] [, /LAST] [, /NEXT] [, /PRIOR] [, RELATIVE=integer] )

Return Value

The function returns true (1) if the move operation was successful, or false (0) otherwise.

Arguments

None.

Keywords

ABSOLUTE

Set this keyword equal to the record number that the cursor should be moved to.

FIRST

Set this keyword to move the cursor to the first record in the recordset.

LAST

Set this keyword to move the cursor to the last record in the recordset.

NEXT

Set this keyword to move the cursor to the next record in the recordset.

PRIOR

Set this keyword to move the cursor to the previous record in the recordset.

RELATIVE

Set this keyword equal to the relative number of records that the cursor should be moved from its current position.

Version History

5.0

Introduced