Close (NotesUIDocument - LotusScript®)

Closes a document.

Defined in

NotesUIDocument

Syntax

Call notesUIDocument .Close( [ immediate ] )

Parameters

immediate

Boolean. Optional. If True, the document is immediately closed. If False, closing the document may be delayed. The default is False.

Note: This parameter is new with Release 5.0.7.

Usage

If the user has edited the document, Notes® displays a dialog box asking if the user would like to save the changes.

Example