18.01.2013 Views

LotusScript for Visual Basic Programmers - IBM Redbooks

LotusScript for Visual Basic Programmers - IBM Redbooks

LotusScript for Visual Basic Programmers - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The documents in a collection are ordered when the collection results from<br />

a full text search; otherwise, the documents are unordered.<br />

Method Description<br />

FTSearch Fetches the documents in a query.<br />

GetFirstDocument Gets the first document in a collection.<br />

GetLastDocument Gets the last document in a collection.<br />

GetNextDocument Given a document, finds the document<br />

immediately following it in a collection.<br />

GetNthDocument Given a position number, returns the document at<br />

that position in a collection.<br />

GetPrevDocument Given a document, finds the document<br />

immediately preceding it in a collection.<br />

PutAllInFolder Puts all documents in a folder.<br />

RemoveAll Removes all the documents in<br />

NotesDocumentCollection.<br />

RemoveAllFromFolder Removes all the documents from a folder.<br />

SaveAll Saves all the documents in<br />

NotesDocumentCollection.<br />

StampAll Stamps all the documents.<br />

UpdateAll Updates all the documents.<br />

Property Description<br />

Count Read-only. The number of documents in a<br />

collection.<br />

IsSorted Read-only. Indicates if the documents in a<br />

collection are sorted. A collection is sorted only<br />

when it results from a full text search of a<br />

database.<br />

Parent Read-only. The database that contains a document<br />

collection.<br />

Query Read-only. The text of the query that produced a<br />

document collection, if the collection results from<br />

a full text or other search.<br />

Note The methods listed in italics will be available in Release 4.5.<br />

Chapter 3: <strong>LotusScript</strong> Notes Classes 63

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!