<Solution> Re: One way Jeremy W Deal 30.Jul.08 10:37 AM a Web browser Notes Client All ReleasesAll Platforms
Thanks Rob!!! Thats working out great. However, I dont think this part of your code is possible: "Can put code here to close docA and open docB in the user interface". You have this code in the QuerySave event, isnt it a conflict to try and close docA in its "QuerySave" state?
Ive got it working with a "Save and Close" button on the form using the formula below, but I havent yet taken into account if the user clicks the "X", or uses the "CTRL+S", "CTRL+W" & "Esc" keys. But Im much closer than I was, so thanks a ton!
My "Save and Close" button on the form:
@Command([FileSave]); <--triggers the QuerySave events.
FIELD SaveOptions := "0"; <--allows form to close w/out a prompt.
@Command([FileCloseWindow]) <--closes form and takes you back to view.