Hi ,
Thanks for getting to this post.
The script below is triggered from a button on a notes client(6.5.1). It invokes a server process (usually runs for 5-10 secs) and then launches a document that was updated by that process. EVERYTHING works fine ALWAYS,unless the user shifts focus away from Lotus notes client.
After clicking the button ,if the user shifts focus to any other application on the desktop and comes back to notes client, the frameset context is lost and the document is open as a separate notes window.
I cannot use the autoframe property on the form, as the same document is opened from different frames.
Is there a way to prevent this from happening? OR Is there a way to find out whether the current document is open within a frameset?
If db.GetAgent(“RetrieveDetails”).RunOnServer(docRep.NoteID) = 0 Then
ws.SetTargetFrame("Frame1")
ws.EditDocument True,vw.getDocumentByKey(ss.CommonUserName),,,False
End if
Any thoughts or suggestions?
Thanks much in advance,
Natesh…