KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Passing entity form data to subform
PRODUCT: 4D | VERSION: 17 | PLATFORM: Mac & Win
Published On: April 24, 2019

To pass an entity to a subform, make sure the subform variable is set to that entity and the variable type is set to an object. For this example, the listbox currently selected data will be passed into the subform.

Form Layout:


Listbox Property List


Subform Property List


Once everything is set, the selected item in the listbox will automatically update the entity attributes within the subform as shown below: