I am trying to open a frameset from a button in a frameset of another frameset. When the user clicks the button, a new Notes tab opens. I want the new frameset to replace the existing frameset. To get around this, we have put in a command to close the existing window first. This works, as long as the user has not clicked to a tab for a different database first. If they do that, then the close window leaves the user in the second database and the OpenFrameset command is performed in the context of the second database. The user gets an error that the specified frameset does not exist. What is the correct way to do this?