OnQueryCloseForm Trigger

Executed immediately before the form closes.

[Ok]:= OnQueryCloseForm

Property Value/Return Value

Ok

(Boolean) Indicates whether the form should be closed. This value is checked after each function call.

Applies to

Forms

Remarks

If neither the form nor any child form returns FALSE in this trigger, the OnCloseForm Trigger trigger is called for all child forms and then for the form itself (the parent form).

The close action is canceled if an error occurs in the trigger code, and the form is not closed. You can use this trigger to write to the database.

See Also

Concepts

Triggers