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

VP Get data context

História
ReleaseMudanças
19 R5Adicionado

VP Get data context ( vpAreaName : Text {; sheet : Integer } ) : Object
VP Get data context ( vpAreaName : Text {; sheet : Integer } ) : Collection

ParâmetroTipoDescrição
vpAreaNameObject->Nome de objeto formulário área 4D View Pro
sheetInteger->Índice da folha a partir da qual se obtém o contexto de dados
ResultadosObject | 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. If there is no context for the worksheet, the command returns 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}

Veja também

VP SET DATA CONTEXT
VP Get binding path
VP SET BINDING PATH