Form_OnLoad event
This event occurs before a form is displayed.
Syntax
Form_OnLoad ( Form )Arguments
Remarks
You can use this event to perform tasks such as initializing the form fields or the form scan settings.
Example
Sub Form_OnLoad(Form)
'Write custom code to lookup the authenticated user's home directory.
Form.SetFieldValue “Path”, LookupHomeDirectory(Form.UserName)
End Sub