LOTUSSCRIPT/COM/OLE CLASSES


Examples: Locating documents within a view or folder
1. This example accesses all the documents in the "By Category" view first to last. Alternatively, use the GetLastDocument and GetPrevDocument methods to access all the documents last to first.
2. This example limits the view to those documents that meet the full-text search criteria for "Search string alpha" and traverses the view.
3. This example uses GetAllDocumentsByKey to access all the documents in the "By Subject" view with whatever the user enters in response to Inputbox as the first characters of the first sorted column.
4. This example uses GetDocumentByKey and GetNextDocument to access all the documents in the "By Subject" view with whatever the user enters in response to Inputbox as the first characters of the first sorted column.
5. This example accesses all the documents in a view by moving up and down through all response and response to response documents.
6. This example displays, for each document in the "By Category" view, a message saying whether or not the document is a response document, and giving the count for its first-level response documents.
7. This example, which is a button on a form, puts a copy of the current document in the folder named "My Favorite Documents."
See Also