OnQueryCloseForm Trigger
Microsoft Dynamics Nav 2009
Executed immediately before the form closes.
[Ok]:= OnQueryCloseForm
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.
Community Additions
ADD
Show: