Hi,
When a user double clicks a document in an embedded view, is it possible for the form containing the embedded view to close? I am trying to minimise the number of opened documents at any one time.
If this is possible, how do i do it?
Thanks
F1H
Hi,
When a user double clicks a document in an embedded view, is it possible for the form containing the embedded view to close? I am trying to minimise the number of opened documents at any one time.
If this is possible, how do i do it?
Thanks
F1H
Subject: Embedded View - Close uidoc
Found a Soluition :
In the QueryOpenDocument function of the view thats embedded enter this code :
Dim w as New NotesUIWorkspace
Dim uidoc as NotesUIDocument
Set uidoc = w.CurrentDocument
If uidoc.EditMode = True then
Call uidoc.save
Call uidoc.close
Else
Call uidoc.close
End If