LOTUSSCRIPT/COM/OLE CLASSES


CreateDocument method
Example

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


Usage

For more information, see the NotesDocument class.

Language cross-reference

createDocument method in Java Database class

Compose @Command in formula language

Example
See Also