CreateDocument (NotesDatabase - LotusScript®)

Creates a document in a database and returns a NotesDocument object that represents the new document. You must call Save if you want the new document to be saved to disk. When used with OLE automation, this method allows you to create a NotesDocument object without using New.

Defined in

NotesDatabase

Syntax

Set notesDocument = notesDatabase .CreateDocument

Return value

notesDocument

NotesDocument. The new document.

Usage

For more information, see the NotesDocumentclass.

Example