Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## DELETE-SELECTED-ROW( ) method

> Deletes the `n`th selected row from a browse and the results list.

> Return type: LOGICAL

> Applies to: BROWSE widget

> Syntax
>     DELETE-SELECTED-ROW ( n )

> ``n``

> An integer expression that specifies a selected row within the browse.

> Note: Do not confuse the DELETE-SELECTED-ROW method (note the singular) with the DELETE-SELECTED-ROWS method (note the plural).

> Progress maintains a numbered list of selected rows, starting at 1. When the DELETE-SELECTED-ROW( `n` ) method is encountered, Progress searches this list to find the `n`th 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.

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