Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On Shutdown woes
Message
From
26/08/1997 08:59:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
On Shutdown woes
Miscellaneous
Thread ID:
00046898
Message ID:
00046898
Views:
96
Hi everyone.

I am trying to write an on shutdown routine that will work just like my file - exit routine. It goes something like this:

FUNCTION OnShutdown()
IF goapp.glOK2Quit THEN
goapp.glOK2Quit = .F.
IF goApp.CleanUp()
RELEASE goApp
ELSE
goapp.glOK2Quit = .F.
ENDIF
ENDIF


The code works fine when executed from the menu. On different occasions, I get the error "A stored Procedure is executing" on CLOSE DATA ALL after I have release my application aobjecvt and reset the environment. Why is this happening and what can I do about it?

TIA

Marcia
Next
Reply
Map
View

Click here to load this message in the networking platform