Open A Frameset from a frameset

3845 pts.
Tags:
Domino Designer
Frameset
Lotus Notes 6.x
OpenFrameset
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?

Answer Wiki

Thanks. We'll let you know when a new response is added.

There are a few ways to do this:
The way I normally do it is using an Environment variable to hold the name the the Frames content.
Then have that frames content computed using a formula to read the Environment Variable.
E.g.
viewName := @Environment( “YOUR ENVIRONMENT VAR” );
@If( @IsError( viewName ) | viewName = “”;
“SOME DEFAULT VIEW”;
viewName
)

Also in the db open script set the environment variable.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following