Aller au contenu principal
Version: 20 R6

VP REMOVE TABLE

Historique
ReleaseModifications
19 R6Ajout

VP REMOVE TABLE ( vpAreaName : Object; tableName : Text {; options : Integer} {; sheet : Integer}} )

ParamètresTypeDescription
vpAreaNameText->Nom de la zone 4D View Pro
tableNameText->Nom de la table à supprimer
optionsInteger->Options supplémentaires
sheetInteger->Numéro d'indice de la feuille (feuille courante si omis)

Description

The VP REMOVE TABLE command removes a table that you created with VP CREATE TABLE.

In vpAreaName, pass the name of the area where the table to remove is located.

In tableName, pass the name of the table to remove.

In options, you can specify additional behavior. Valeurs possibles :

ConstanteValeurDescription
vk table remove all0Remove all including style and data
vk table remove style1Remove style but keep data
vk table remove data2Remove data but keep style

Table names are defined at sheet level. You can specify where the table is located using the optional sheet parameter (indexing starts at 0).

Exemple

To remove the "people" table in the second sheet and keep the data in the cells:

VP REMOVE TABLE("ViewProArea"; "people"; vk table remove style; 2)

Voir également

VP CREATE TABLE