Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : FETCH-SELECTED-ROW( ) method
 

FETCH-SELECTED-ROW( ) method

Fetches the nth selected row in a browse and puts the row into the database buffer. In other words, this method specifies one row from the one-based index into all currently selected rows and puts that row into the record buffer.
Return type: LOGICAL
Applies to: BROWSE widget

Syntax

FETCH-SELECTED-ROW ( n )
n
An integer expression that specifies a selected row within the browse.
The AVM maintains a numbered list of selected rows, starting at 1. The AVM builds this numbered list as the user selects rows in the browse. When you call the FETCH-SELECTED-ROW method, the AVM searches this list to find the nth row selected by the user.