Examples: Values property (NotesItem - LotusScript®)

This script gets the contents of a Subject item. The Values property returns an array even though the Subject item contains a single string.

Dim doc As NotesDocument
'...set value of doc...
Dim item As NotesItem
Set item = doc.GetFirstItem( "Subject" )
Forall v In item.Values
  Messagebox( v ) 
End Forall