Occurs just before the current document is closed.
QueryClose( Source as NotesUIDocument, Continue as Variant )
Source
NotesUIDocument. Read-only. The current document.
Continue
Boolean. Read-write. Indicates whether or not the document will close. Initially set to True. Set this parameter to False if you do not want to close the document.
If backward compatibility is not an issue, OnUnload (introduced in Release 6) is preferred. QueryClose occurs before OnUnload if both are used.
When you create a script that responds to this event, Domino® creates the syntax of the event for you (including the parameters). You do not need to type it in.