Saltar para o conteúdo principal
Versão: Próximo

VP Get tables

História
ReleaseMudanças
18 R6Adicionado

VP Get tables ( vpAreaName : Text { ; sheet : Integer } ) : Collection

ParâmetroTipoDescrição
vpAreaNameText->Nome de objeto formulário área 4D View Pro
sheetInteger->Índice da folha (folha atual se omitida)
ResultadosCollection<-Text collection with all table names

Descrição

The VP Get tables command returns a collection of all table names defined in the sheet.

Em vpAreaName, passe o nome da área 4D View Pro.

In sheet, pass the index of the target sheet. Se nenhum índice for especificado, o comando se aplica à folha atual.

A indexação começa em 0.

Exemplo

O código abaixo devolverá uma coleção de todos os nomes de tabelas da folha atual:

$tables:=VP Get tables("ViewProArea")
//$tables contém por exemplo ["contextTable","emailTable"]

Veja também

VP CREATE TABLE