PreviousNextIndex

GET-NEXT( ) method

Moves a query object’s result list pointer ahead one row.

Return type: LOGICAL

Applies to: Query object handle

Syntax
GET-NEXT ( NO-LOCK | SHARE-LOCK [ , NO-WAIT ] 
  | EXCLUSIVE-LOCK [ , NO-WAIT ]  ) 

NO-LOCK
SHARE-LOCK
EXCLUSIVE-LOCK
NO-WAIT

GET-NEXT() returns TRUE if the next record in the query is found. If the query is not open or the next record cannot be found (query is empty or the query result list pointer is on the last row), the method returns FALSE. If the query object handle is invalid, the method returns the Unknown value (?).


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex