OnClosePage Trigger

Executes as a page closes after the OnQueryCloseForm Trigger trigger is executed.

OnClosePage()

Remarks

This trigger is initiated by a user action, such as when the user clicks the Close button, or by the CurrPage.CLOSE function being called.

You can write to the database from within this trigger.