Quang Quí
Quang Quí

Reputation: 35

How to get document when I select a document in IBM Lotus Notes

When I select one or more documents in IBM Lotus Notes, how can I get it when I click a button above? enter image description here

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

Answers (1)

Per Henrik Lausten
Per Henrik Lausten

Reputation: 21709

You need to use the UnprocessedDocuments property which will return a collection that you can loop through.

Upvotes: 1

Related Questions