Skip to main content
Version: 20 R7 BETA

VP REMOVE TABLE ROWS

History
ReleaseChanges
19 R7Added

VP REMOVE TABLE ROWS ( vpAreaName : Text ; tableName : Text ; row : Integer {; count : Integer {; sheet : Integer }}} )

ParameterTypeDescription
vpAreaNameText->4D View Pro area form object name
tableNameText->Table name
rowInteger->Index in the table of the starting row to remove
countText->Number of rows to remove (must be >0)
sheetInteger->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)

See also

VP INSERT TABLE ROWS
VP REMOVE TABLE COLUMNS