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.
Set notesDocument = notesDatabase .CreateDocument
For more information, see the NotesDocument class.
createDocument method in Java™ Database class
Compose @Command in formula language