Using LotusScript in Lotus Notes®/Lotus Domino®, how can you get a handle to selected documents in an embedded view? How can you set a form or view so that documents can be selected?
- Dim s As New notessession
Dim db As notesdatabase
Dim col As notesdocumentcollection
Dim doc As notesdocument
Set db=s.CurrentDatabase
Set col=db.UnprocessedDocuments
- Print "Collection size: " & col.count
While Not doc Is Nothing
- 'Perform desired operations
Set doc=col.GetNextDocument(doc)
Comments
Post a Comment