Entering content frame

 Method absolute 

Definition

absolute (pos)

Use

absolute is a method of the class SapDB_ResultSet. You use this method to position the cursor on the record with the position pos in the results set, to extract the record.

The first record has the position 1.

A negative pos refers to the end of the results set. This means that when you specify absolute (-1), you get the last record in the results set.

Result

The record is extracted.

If you specify a value for pos that exceeds the number of records in the results set, then the value of the result is None.

row = cursor.absolute (3)

See also: Examples for SapDB_ResultSet

 

Leaving content frame