Link to home
Start Free TrialLog in
Avatar of damoncwk
damoncwk

asked on

@Command([FileCloseWindow]); collapsed

Hi,
I used the following code to return to a frameset for a button action
however occasionally after the current form is closed it prompts saying
cannot find the Sales Frameset. Any clues?
Thanks !!

@Command([FileSave]);
@Command([FileCloseWindow]);
@PostedCommand([OpenFrameset];"Sales")
Avatar of madheeswar
madheeswar
Flag of Singapore image

@Command([FileSave]);
@Command([FileCloseWindow]);@PostedCommand([FileOpenDatabase];"vmokshatest/vmokshacert":"Pratima1/oppmgtsys.nsf")

The above will open the database with the frameset (if ur using the Sales frameset when database open.

try the code.
Avatar of RanjeetRain
RanjeetRain

Did you try this?

@Command([FileSave]);
@Command([OpenFrameset];"Sales");
@PostedCommand([FileCloseWindow]);
Avatar of damoncwk

ASKER

Hi RanjeerRain,
Yes i did try this but the window of the form is still not closed....
did u tried mine?
madheeswar,
yes i did try yours and it did work
however it still prompt asking if I want to save the changes
is there any way that i can save the file without the app promting the question?
Thanks!!!
madheeswar,
the FileCloseWindow command didnt work though though
the frameset is opened.....
create SaveOptions Field and assign 1 as default value. it will stop prompting.
Try this combi,

@Command([FileSave]);
@PostedCommand([OpenFrameset];"Sales");
@Command([FileCloseWindow]);
What version of notes do you have ?

Formula always have exceution priorities...So can you do this in LS ?

~Hemanth
ASKER CERTIFIED SOLUTION
Avatar of qwaletee
qwaletee

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial