Reputation: 35
When I select one or more documents in IBM Lotus Notes, how can I get it when I click a button above?
Example:how can I get data for row1 and row2 when i click button:
Sub Click(Source As Button)
Dim session As NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Dim dc As NotesDocumentCollection
Set dc = db.AllDocuments
Set doc =??? document on row1 & row2
End Sub
Please help me solve this problem.Thanks!
Upvotes: 0
Views: 570
Reputation: 21709
You need to use the UnprocessedDocuments property which will return a collection that you can loop through.
Upvotes: 1