LOTUSSCRIPT/COM/OLE CLASSES


QuerySend event
Example

Occurs just before the current document is sent (mailed).

Note This event is new with Release 6.

Defined in

NotesUIDocument

Syntax

QuerySend(Source as NotesUIDocument , Continue as Variant)

Parameters

Source


Continue
Usage

If the QuerySend event occurs during the closing of a document, setting Continue to False stops both the send and the close.

If the document contains input translation or validation formulas, execute the Refresh method for the source NotesUIDocument object at the beginning of the QuerySend script. The QuerySend event occurs before Notes refreshes the fields during the save process, so the script works with unvalidated and untranslated data unless you explicitly refresh.

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.

Example