Hi,My database appeearance is created using a Frameset (i.e Left & Right). The left shows the view pane and the right shows the view.
I create a document from a view. When I click the the Close button (without saving), the Right frame appears twice. It works fine if i open an existing document or save the new document prior to closing it.
For your info. my Close button has the following formula @command([FileCloseWindow]).
I also have a $Return field in my form, with the following formula. DBPath:=@ReplaceSubstring(@Subset(@DbName;-1);“”:“\”;“+”:“/”);
“[”+DBPath+“/ByPassenger?OpenView]”
I know I could place the following formula;-
@If(
@BrowserInfo(“BrowserType”)=“Notes”;@Command([FileCloseWindow]);
@Do(@SetTargetFrame(“Right”);@Command([OpenView];“ByPassenger”))
)
in my Close button, but I don’t want this as it will always go to back to the same view.(i.e not dynamic).
What I want to achive is everytime I close the document it should return me to the view where I compose the document earlier.
Any helpe would be greatly appreciated.
Regards,
Vic.