OK, I thought this was a simple frameset navigation issue, but I can’t find an answer.
How do I open a frameset in another database within a frameset from this database? I’d prefer to do this in formula, to incorporate into an existing button, but Lotusscript is good, too.
Subject: RE: How do I open a frameset from a different db within frameset?
I think you left something out here. @SetTargetFrame does not open anything, it just defines, what should be the target for the following code. But, it’s use is restricted to a couple of functions.
Use @SetTargetFrame before opening or refreshing the view, page, or frameset, or before composing or editing a document. The following @commands use the frame specified in the @SetTargetFrame:
@Command([Compose])
@Command([EditDocument])
@Command([OpenFrameset])
@Command([OpenPage])
@Command([OpenView])
@Command([RefreshFrame])
It’s actually the third time, I’m posting this bit this week …
Subject: RE: How do I open a frameset from a different db within frameset?
But @Command([OpenFrameset]) only seems to work on the current database. What if I want to open another database’s frameset – which has an embedded outline in the left pane and a view in the right pane – within the current database’s frameset – which has a banner and outline in the top pane and the new frameset from the other database in the bottom pane?
Subject: SOLVED: How do I open a frameset from a different db within frameset?
Sorry to take so long to report back. Your suggestion works out nicely. Do it like this ($keyword form ResourceDB contains the name of the target database, obviously):
svr := @Subset(@Name([cn]; @DbName); 1);
db := @ReplaceSubstring(@DbLookup(“”:“NoCache”; “”; “$Keywords”; “ResourceDB”; 2); “\”; “/”);