Solution - Nonexistent frame or frameset specified

Please see my post on 02/23/04 for details of the problem, the short version is…

If a user has a second database open in addition to mine and that db also uses framesets, like the Notes email db. And if they also have a document open, say an email message. And if they then go into my db and select a different view (I have read sorting may also be a trigger). Once the above conditions are met if the user then clicks a hotspot that attempts to open a frameset they get the error message.

Why this error only shows up if a document is open in the other db is weird. If no document is open or you close the document everything works fine.

This is a work around solution, whatever is getting tripped in Notes 6.x is still getting tripped e.g. hotspot buttons with the fix work fine, those without don’t so something is not right within Notes but adding this line of code makes problem go away.

OLD CODE - This is what I was using to open a frameset

Dim workspace As New NotesUIWorkspace

Call workspace.OpenframeSet(“NE Region”)

NEW CODE - I am now nulling the target frameset before opening any frameset. With this change I no longer get the error message.

Dim workspace As New NotesUIWorkspace

Call workspace.SetTargetFrame(“”)

Call workspace.OpenframeSet(“NE Region”)