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.
viewName := @Environment( “YOUR ENVIRONMENT VAR” );
@If( @IsError( viewName ) | viewName = “”;
“SOME DEFAULT VIEW”;
Also in the db open script set the environment variable.