>Michelle,
>If you used READ EVENTS in your application, better use CLEAR EVENTS to properly exit the program not CANCEL. Make it sure that after READ EVENTS issue SET SYSMENU TO DEFAULT, CLOSE ALL, CLEAR ALL.
>
>**main.prg
>.
>.
>program code here
>.
>.
>
>DO mymenu.prg
>READ EVENTS
>CLOSE ALL
>CLEAR ALL
>SET SYSMENU TO DEFAULT
>
>Your MENU.prg should have a BAR with command CLEAR EVENTS.
Jess,
Issuing CLOSE ALL and CLEAR ALL will close any databases which were open before calling the exe. If the user opens a database then calls the exe, they will then have to reopen the database(s) - if they have done any complex relations, they will have to re-do those. This is where the CREATE/SET VIEW comes in. Remember the 11th commandment - Thou shalt not upset the user.