VP Get data context
História
Release | Mudanças |
---|---|
19 R5 | Adicionado |
VP Get data context ( vpAreaName : Text {; sheet : Integer } ) : Object
VP Get data context ( vpAreaName : Text {; sheet : Integer } ) : Collection
Parâmetro | Tipo | Descrição | ||
---|---|---|---|---|
vpAreaName | Object | -> | Nome de objeto formulário área 4D View Pro | |
sheet | Integer | -> | Índice da folha a partir da qual se obtém o contexto de dados | |
Resultados | Object | Collection | <- | Contexto de dados |
Descrição
The VP Get data context
command returns the current data context of a worksheet. O contexto retornado inclui todas as modificações feitas no conteúdo do contexto de dados.
In sheet, pass the index of the sheet to get the data context from. Se nenhum índice for passado, o comando retornará o contexto de dados da planilha atual. Se não houver contexto para a planilha, o comando retornará Null
.
The function returns an object or a collection depending on the type of data context set with VP SET DATA CONTEXT.
Exemplo
Para obter o contexto de dados ligado às células seguintes:
var $dataContext : Object
$dataContext:=VP Get data context("ViewProArea") // {firstName:Freehafer,lastName:Nancy}