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

SET-REPOSITIONED-ROW( ) method

Sets the row index where records positioned with the REPOSITION TO ROWID (or RECID) statement are displayed.
Return type: LOGICAL
Applies to: BROWSE widget

Syntax

SET-REPOSITIONED-ROW ( n , "ALWAYS" | "CONDITIONAL" )
n
Indicates the row number where the new record is displayed, 1 being the first row.
"ALWAYS"
Specifies that the REPOSITION TO ROWID statement always uses the indicated row number. If all of the records in a result set fit in the browse viewport, the REPOSITION statement only moves focus to the existing row.
"CONDITIONAL"
Specifies that the REPOSITION TO ROWID statement uses the indicated row number unless the new row is already in the browse viewport. In this case, the REPOSITION statement moves focus to the existing row.
By default, this is the top row in the browse viewport (index 1). If the associated query is defined with the INDEXED-REPOSITION option, the CONDITIONAL option is ignored.