« Return to the blog entry
You can also make lists of documents:
Dim Groups List as NotesDocument
...
Set Groups(doc.GroupUNID(0)) = doc
ForAll Group In Groups
'Now Group is a NotesDocument
value = Group.GroupName(0) 'or whatever
etc.
Btw, I think it's good practice to always end the script with the Erase statement.
You can also make lists of documents:
Dim Groups List as NotesDocument
...
Set Groups(doc.GroupUNID(0)) = doc
...
ForAll Group In Groups
'Now Group is a NotesDocument
value = Group.GroupName(0) 'or whatever
etc.
Btw, I think it's good practice to always end the script with the Erase statement.