>Hello all. I have a timer that forces our Mere Mortals application to close. To ensure a graceful exit, I need to check for any forms open in the application and possibly call their unload/release etc event.
>
>I have seen goApp.oForms.GetFormCount() used, and a FOR loop as such:
>
>>>FOR EACH oForm IN _screen.Forms
>** do some magic to find form name and close it?
>
>
>I am having issues with a graceful (cannot access selected table errors) exit when simply calling OnShutDown() with an open form.
>
>TIA
>Amanda
Hi Amanda,
Try to search here, I believe I posted the code for graceful exit in MereMortals before. There is an issue when report form is opened, which I fixed.
If you would not be able to find this thread, remind me later, I'll search myself.
If it's not broken, fix it until it is.
My Blog