OpenFrameset - "Frameset 'MainFrame' does not exist"

Good morning, ladies and gentlemen. I have a problem with my Domino database that I can not seem to get resolved. On my “Submit” and “Cancel” buttons, I want to submit the form, and then open the MainFrame frameset again so that the users are not “kicked out” of the application. I have this code on my “Submit” button:

@If(!@Command([ViewRefreshFields]); @Return(“”); “”);

@Command([FileSave]);

@Command([CloseWindow]);

@PostedCommand([OpenFrameset];“MainFrame”)

Each and every time I click “Submit”, I get kicked out of the application and the error popup “Frameset ‘MainFrame’ does not exist” appears. I tried both “@Command” and “@PostedCommand”, I have verified that my frameset is called “MainFrame”, etc. Anyone have any suggestions? Any and all help would be excellent. Thank you!

Chris Ivey

Verizon Data Services

Enterprise Network Support Services

Network Managment Tools Group

Subject: OpenFrameset - “Frameset ‘MainFrame’ does not exist”

Create a field on Your Form and name the field $$return. It should be of type Text and “Computed for Display”. The default value for the field should be:“[”+@Subset(@DbName;-1)+“/MainFrame]”

Hope this helps You out!

/Magnus

Subject: RE: OpenFrameset - “Frameset ‘MainFrame’ does not exist”

Well Magnus, that did not seem to help me any. I recently got my database posted on a Domino server, and with the posting the behavior seems to have changed. Now, when I cancel or submit from the form, it does not kick me out nor give me the error. If a co-worker does it, then he gets kicked out. I am on as a Manager, and he comes in as an Author. Would that make a difference? Thank you for your previous posting, and in advance to yourself or anyone who can help me out of this little jam.

Chris Ivey

Verizon Data Services

Enterprise Network Support Services

Network Management Tools Group

Subject: RE: OpenFrameset - “Frameset ‘MainFrame’ does not exist”

OK, I fixed this problem for the most part… I added the statement:@Command(OpenDatabase); “MyDB”)

before the call to the OpenFrameset statement. Thanks!