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

OBJECT SET SUBFORM CONTAINER VALUE

OBJECT SET SUBFORM CONTAINER VALUE ( value )

ParâmetroTipoDescrição
valueanyNew value for the data source

Esse comando não é seguro para thread e não pode ser usado em código adequado.

Descrição

The OBJECT SET SUBFORM CONTAINER VALUE command sets the current value of the data source bound with the subform container displayed in the parent form.

This command can only be used in the context of a form used as a subform. In any other context, it does nothing.

Pass in value a value of the same type as the data source bound to the subform container. The data source must be an assignable expression (see Assignable vs non-assignable expressions), otherwise the command does nothing.

For more information on bound variables and form/subform interaction, see Managing the bound variable on developer.4d.com.

Exemplo

A detailed example is available in the OBJECT Get subform container value section.

Ver também

Form
OBJECT Get subform container value