PreviousNextIndex

DELETE-SELECTED-ROW( ) method

Deletes the nth selected row from a browse and the results list.

Return type: LOGICAL

Applies to: BROWSE widget

Syntax
DELETE-SELECTED-ROW ( n ) 

n

The AVM maintains a numbered list of selected rows, starting at 1. When the DELETE-SELECTED-ROW( n ) method is encountered, the AVM searches this list to find the nth selected row.

This method does not delete the record from the database and has no effect on the database buffer. If you want to delete the database record associated with the row, use the DELETE statement.

If the row is successfully deleted, the method returns TRUE.

If you want to delete all selected rows, whether it is one or many, DELETE-SELECTED-ROWS is the preferred, optimized method for doing so.


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex