Saltar para o conteúdo principal
Versão: 20 R8 BETA

VP REMOVE TABLE COLUMNS

História
ReleaseMudanças
18 R6Adicionado

VP REMOVE TABLE COLUMNS ( vpAreaName : Text ; tableName : Text ; column : Integer {; count : Integer {; sheet : Integer }}} )

ParâmetroTipoDescrição
vpAreaNameText->Nome de objeto formulário área 4D View Pro
tableNameText->Nome da tabela
columnInteger->Índice na tabela da coluna inicial a remover
countInteger->Número de colunas a remover (tem de ser >0)
sheetInteger->Índice da folha (folha atual se omitida)

Descrição

The VP REMOVE TABLE COLUMNS command removes one or count column(s) in the specified tableName at the specified column index. O comando remove valores e estilos.

The command removes columns from the tableName table, NOT from the sheet. O número total de colunas da folha não é impactado pelo comando. Os dados presentes à direita da tabela (se houver) são automaticamente movidos para a esquerda conforme o número de colunas removidas.

Se tableName não existir, não acontece nada.

Exemplo

Para remover duas colunas da 3.ª coluna da tabela "dataTable":

VP REMOVE TABLE COLUMNS("ViewProArea"; "dataTable"; 3; 2)

Veja também

VP INSERT TABLE COLUMNS
VP REMOVE TABLE ROWS