Subject: In LotusScript how do I list all the fields and their values in a document?
Bob,
Is this the example you are looking for?
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
look under the Items property of the NotesDocument class.