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