Executes after a form is initialized and run.
Forms
Use this trigger to change dynamic properties, including those which can only be changed when the form is opened, such as the MaximizedOnOpen Property.
This trigger executes after the OnInit Trigger.
If an error occurs in the trigger code, the form closes. You can write to the database from using this trigger.
If you use the LOCKTABLE function in this trigger, the table lock will be released as soon as the trigger executes and not when you close the form.