FlushRow method: Rowset class
Syntax
FlushRow(n)
Description
Use the FlushRow method to remove a specific row from a rowset and from the Component buffer. Rows that are flushed are not deleted from the database.
FlushRow is a specialized and infrequently used method. In most situations, you want to use DeleteRow to remove a row from the Component buffer and remove it from the database as well when the component is saved.
You cannot flush the current context of the executing program. This means FlushRow cannot be used for the rowset containing the executing program, or in any child rowset and executed against the parent rowset. Place your PeopleCode in a parent rowset and execute it against a child rowset.
Parameters
| Parameter | Description |
|---|---|
|
n |
An integer identifying a row within the rowset object. This must be >= 1 and <= the number of rows in the rowset (see property RowCount). |
Returns
None.
Example
&ROWSET.FlushRow(&ROWNUMBER);