OBJECT SET SUBFORM CONTAINER VALUE
OBJECT SET SUBFORM CONTAINER VALUE ( value )
Parameter | Type | Description | |
---|---|---|---|
value | any | → | New value for the data source |
Description
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.
Example
A detailed example is available in the OBJECT Get subform container value section.
See also
Form
OBJECT Get subform container value
Properties
Command number | 1784 |
Thread safe | ✗ |