RowFlush function
Syntax
RowFlush(scrollpath, target_row)
Where scrollpath is:
[RECORD.level1_recname, level1_row, [RECORD.level2_recname, level2_row, ] RECORD.target_recname
To prevent ambiguous references, you can use SCROLL. scrollname, where scrollname is the same as the scroll level’s primary record name.
Description
Use the RowFlush function to remove a specific row from a page scroll and from the component buffer.
Note:
This function remains for backward compatibility only. Use the FlushRow rowset method instead.
Rows that are flushed are not deleted from the database.
RowFlush is a specialized and rarely used function. In most situations, you will 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.
Parameters
| Parameter | Description |
|---|---|
|
scrollpath |
A construction that specifies a scroll level in the component buffer. |
|
target_row |
The row number of the row to flush. |
Returns
None.
Example
The following example flushes a row in a view from the component buffer:
RowFlush(RECORD.BNK_RCN_DTL_VW, &ROW1);