当我 select IBM Lotus Notes 中的文档时如何获取文档

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

当我在IBM Lotus Notes中select一个或多个文件时,点击上面的按钮如何获取?

示例:单击按钮时如何获取第 1 行和第 2 行的数据:

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

请帮我解决这个问题problem.Thanks!

您需要使用 UnprocessedDocuments property,它将 return 一个您可以循环访问的集合。