Progress
Open Client
Developer’s Guide


Navigating SDOResultSet Rows

These methods change or report the position of the cursor in the SDOResultSet:

SYNTAX
boolean previous() 

Moves the cursor backwards.

SYNTAX
boolean next() 

Moves the cursor forward.

SYNTAX
boolean first() 

Positions the cursor on the first row.

SYNTAX
void beforeFirst() 

Positions the cursor before the first row.

SYNTAX
boolean last() 

Positions the cursor on the last row.

SYNTAX
void afterLast() 

Positions the cursor after the last row.

SYNTAX
boolean absolute(int n) 

Positions) the cursor on the n-th row. A negative number positions the cursor relative to the end of the SDOResultSet. The index (n) is 1-based.

SYNTAX
boolean relative(int n) 

Moves the cursor n rows forward (backward if n is negative).

SYNTAX
boolean isAfterLast() 

Is the cursor after the last row?

SYNTAX
boolean isBeforeFirst() 

Is the cursor before the first row?

SYNTAX
boolean isFirst() 

Is the cursor on the first row?

SYNTAX
boolean isLast() 

Is the cursor on the last row?

SYNTAX
int getRow() 

Gets the position (1-based) of the cursor.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095