The ability to create Dynamic forms is a feature that is implemented starting in v16R6. An interesting part of this feature is that one can dynamically build each form object definition with fewer pieces of code and without a form design. For a Listbox, the conventional design approach is to setup a form as well as set the data source to bind the data in each column through code or in the Listbox property settings via form editor. But with Dynamic forms, there is an efficient process which can be built through a JSON definition. By simply creating a JSON form definition through code or in a JSON file, 4D can easily display it. The power of generating a fully rich Listbox without the need of designing through a form editor can be very useful as well as an efficient practice for existing and new databases. This technical note will breakdown the usage of generating Dynamic forms containing a Listbox as well as demonstrate various implementations through a sample database.
Download Complete Tech Note: Tech Note Document