This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
OBJECT SET SUBFORM CONTAINER VALUE

OBJECT SET SUBFORM CONTAINER VALUE 


 

OBJECT SET SUBFORM CONTAINER VALUE ( value ) 
Parameter Type   Description
value  Mixed in New value for the data source

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 

Product: 4D
Theme: Objects (Forms)
Number: 1784

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v19 R5

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)