Examples: Items property (NotesDocument - LotusScript®))
- This example prints the name of every item in a document. For
example, if the document contains five items, the script might print
"From," "SendTo," "Subject," "Body," and "DeliveredDate."
Dim doc As NotesDocument '...set value of doc... Forall i In doc.Items Messagebox( i.Name ) End Forall
- This script finds an Authors item in a document and assigns it
to the authorItem object.
Dim doc As NotesDocument Dim authorItem As NotesItem '...set value of doc... Forall item In doc.Items If ( item.IsAuthors ) Then Set authorItem = item End If End Forall