developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


problem with NotesUIView
Erik Beaulieu 02/09/2007 01:07 PM
Domino Designer 6.5.4 All Platforms

I have a Embedded view in which I try to put a queryopendocument Event. But when I trigger it, I can't see my selected document.

Here my code
Sub Queryopendocument(Source As Notesuiview, Continue As Variant)
Continue = False
Dim ws As New NotesUIWorkspace
Dim docCol As NotesDocumentCollection
Dim doc As NotesDocument
Set docCol = Source.Documents
Set doc = docCol.GetFirstDocument

My doc variable is empty everytime... I don't understand why. In debug mode, I can see that my NotesDocumentCollection variable contains 1 document.

plz someone help me.

Go back