OnClosePage Trigger

Runs as a page closes after the OnQueryClosePage Trigger is executed.

Syntax

trigger OnClosePage()
begin
    ...
end;

Applies To

  • Pages

Important

The trigger is only invoked when the page is hosted in a modal popup window (MPO).

Remarks

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

You can write to the database from this trigger.

See Also

Triggers
OnQueryClosePage Trigger
Page and Action Triggers