.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

LOTUSSCRIPT/COM/OLE CLASSES


QuerySave event
Example

Occurs just before the current document is saved.

Defined in

NotesUIDocument

Syntax

QuerySave( Source as NotesUIDocument , Continue as Variant )

Parameters

Source


Continue
Usage

If the QuerySave event occurs during the closing of a document, setting Continue to False stops both the save 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 QuerySave script. The QuerySave event occurs before Notes refreshes the fields during the save process, so the script works with unvalidated and untranslated data unless you explicitly refresh.

If backward compatibility is not an issue, OnSubmit (introduced in Release 6) is preferred. QuerySave occurs before OnSubmit 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.

Example