VP INSERT TABLE COLUMNS
Historique
Release | Modifications |
---|---|
19 R7 | Ajout |
VP INSERT TABLE COLUMNS ( vpAreaName : Text ; tableName : Text ; column : Integer {; count : Integer {; insertAfter : Integer {; sheet : Integer }}} )
Paramètres | Type | Description | ||
---|---|---|---|---|
vpAreaName | Text | -> | Nom d'objet formulaire zone 4D View Pro | |
tableName | Text | -> | Nom de table | |
column | Integer | -> | Index dans la table de la colonne de départ à insérer | |
count | Text | -> | Number of columns to add (must be >0) | |
insertAfter | Integer | -> | vk table insert before or vk table insert after column | |
sheet | Integer | -> | Numéro d'indice de la feuille (feuille courante si omis) |
Description
The VP INSERT TABLE COLUMNS
command inserts one or count empty column(s) in the specified tableName at the specified column index.
When a column has been inserted with this command, you typically modify its contents using the VP SET TABLE COLUMN ATTRIBUTES command.
In the insertAfter parameter, you can pass one of the following constants to indicate if the column(s) must be inserted before or after the column index:
Constante | Valeur | Description |
---|---|---|
vk table insert before | 0 | Insert column(s) before the column (default if omitted) |
vk table insert after | 1 | Insert column(s) after the column |
This command inserts some columns in the tableName table, NOT in the sheet. The total number of columns of the sheet is not impacted by the command. Data present at the right of the table (if any) are automatically moved right according to the number of added columns.
If tableName does not exist or if there is not enough space in the sheet, nothing happens.
Exemple
See examples for VP INSERT TABLE ROWS and VP SET TABLE COLUMN ATTRIBUTES.
Voir également
VP INSERT TABLE ROWS
VP REMOVE TABLE COLUMNS
VP SET TABLE COLUMN ATTRIBUTES