LOTUSSCRIPT/COM/OLE CLASSES
Saves a copy of a document as a new version.
Defined in
NotesUIDocument
Syntax
Call notesUIDocument.SaveNewVersion
Usage
This method is valid only when the document is in Edit mode.
To use this method, the Versions options on the document's form must be set as follows. See Version tracking for information about setting form properties.
The form must have one of the following versioning options. The versioning option determines what kind of document you create when you call the SaveNewVersion method.
Errors
If the form's Versioning option is set to None, this method raises the error "Document command is unavailable."
If the form's "Create versions" option is set to "Automatic - File, Save," this method raises the error "Document command is unavailable."
Language cross-reference
FileSaveNewVersion @command in formula language
Example See Also