The following example explains how this trigger is used. A user
has two forms displayed — Form A and Form B. The user enters data
on Form A. When the user activates Form B (typically by clicking on
the form), the code in the OnDeactivateForm
Trigger for Form A is executed and then the code in this
trigger for Form B is executed.
If there is an error in the trigger code, the form is
closed.