Sometimes, the form needs to be adjusted beyond allowing the user to edit a record or field or allowing a button to be pressed. Let's say we wish to add custom fields, where the label is decided by information only known at runtime. The example that will be used in this recipe is intended to be seen as a starting point, showing a way in which we can dynamically control the form.
Updating form controls at runtime
Getting ready
Ideally, we should have a form with a grid view, such as the ConVMSVehicleServiceTable form.
How to do it...
To iterate through a container...