Guest User

Untitled

a guest
Oct 19th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. Sub Postopen(Source As Notesuidocument)
  2. Dim View1 As NotesView
  3. Dim doc As NotesDocument
  4. Dim sesNotes As New NotesSession
  5. Dim db As NotesDatabase
  6.  
  7. Set db = sesNotes.CurrentDatabase
  8. Set View1 = db.GetView("ViewFIO")
  9.  
  10. Set doc = View1.getFirstDocument
  11. Dim jj As Integer
  12. Dim stringg(1 To 3) As String
  13. jj=1
  14. While Not doc Is Nothing
  15. stringg(jj) = doc.Name(0)
  16. Source.Checkbox1(0) = stringg(jj)
  17. Set doc = View1.getNextDocument(doc)
  18. jj=jj+1
  19. Wend
  20. Source.Refresh
  21. End Sub
Add Comment
Please, Sign In to add comment