i am facing a problem,when i am opening a document using a the UNID.
in my part of code as in below…
i am also editing document, and i have also default view.
The field Req_link is holding the value of the UNID,
by fetching this unid earlier i was able to open the document,but now its showing “user defined error”,and in another form the same code showing the error message----“Do you want to save the document” so what to do in this condition?
my code—>
Dim uiws As New NotesUIWorkspace
Dim session As New NotesSession
Dim database As NotesDatabase
Dim doc As NotesDocument
Dim uidoc As NotesUIDocument
Set database = session.CurrentDatabase
Set uidoc = uiws.CurrentDocument
'Call uidoc.Refresh
Set doc = database.GetDocumentByUNID(uidoc.FieldGetText(“Req_Link”))
Set uidoc=uiws.EditDocument(False,doc)
Any help will be Appreciable !!
thanks in Advance
Rupesh