LOTUSSCRIPT/COM/OLE CLASSES


Subtract method
Example

Removes from a document collection any documents contained in a second collection.

Note This method is new with Release 8.

Defined in

NotesDocumentCollection

Syntax

Call notesDocumentCollection.Subtract( inputNotes )

Parameters

inputNotes


Usage

The document or documents (or the view entries and their associated documents) being subtracted must be in the same database as the original document collection. Otherwise, the method will return the error "the specified note or notes do not exist in the database" or, if a noteID was passed to the method that matches a noteID in the original collection's database, the method will use the unintended document.

Example
See Also