VP REMOVE TABLE ROWS
History
Release | Changes |
---|---|
19 R7 | Added |
VP REMOVE TABLE ROWS ( vpAreaName : Text ; tableName : Text ; row : Integer {; count : Integer {; sheet : Integer }}} )
Parameter | Type | Description | |
---|---|---|---|
vpAreaName | Text | -> | 4D View Pro area form object name |
tableName | Text | -> | Table name |
row | Integer | -> | Index in the table of the starting row to remove |
count | Text | -> | Number of rows to remove (must be >0) |
sheet | Integer | -> | Sheet index (current sheet if omitted) |
Description
The VP REMOVE TABLE ROWS
command removes one or count row(s) from the specified tableName at the specified row index. The command removes values and styles.
This command removes rows from the tableName table, NOT from the sheet. The total number of rows of the sheet is not impacted by the command. Data present below the table (if any) are automatically moved up according to the number of removed rows.
If the tableName table is bound to a data context, the command removes element(s) from the collection.
If tableName does not exist, nothing happens.
Example
To remove two rows from 3rd row of the "dataTable" table:
VP REMOVE TABLE ROWS("ViewProArea"; "dataTable"; 3; 2)