CopyToDatabase (NotesDocument - LotusScript®)

Copies a document into the specified database.

Defined in

NotesDocument

Syntax

Set newNotesDocument = notesDocument .CopyToDatabase( notesDatabase )

Parameters

notesDatabase

A NotesDatabase. The database in which you want a copy of the document. If you specify Nothing, this method generates an error.

Return value

newNotesDocument

The new document in the specified database.

Note: CopyToDatabase also saves the new document.

Example