LOTUSSCRIPT/COM/OLE CLASSES


Examples: Getting an item and its values
1. This example uses the Items property of NotesDocument to get each item in each document in a database view, and displays its name and text representation.
2. This example uses the GetFirstItem method of NotesDocument to get the Subject item in each document in a database view, and displays its name and text value.
3. This example uses the item name as a document property to get the value of the Categories item in each document in a database.
4. This example uses the GetItemValue method of NotesDocument to get the value of the Subject item in each document in a database.
5. This example tests for the presence of a specified item in each document in a view.
6. This agent demonstrates a work-around for accessing multiple items with the same name. This is a work-around and creating multiple items with the same name is not recommended.
See Also