General information
Title:
Error Handling (Shutdown problem)
Hello.
I use next line for error handling
On ERROR goErrorHand=CREATEOBJECT([ErrorHandler],MESSAGE(),ERROR(),LINENO(),PROGRAM(),MESSAGE(1))
In the Error Hand form I have button "CLOSE". This button should to close application.
Method have the code
ON ERROR llError = .t.
ON SHUTDOWN QUIT
CLOSE TABLES ALL
QUIT
QUESTION
And after all I get diffrent Visual FoxPro error messages..
like : "Cannot access the selected table", "Unknown member ...",
Quit not brake program execution.
Any solution?
Thanks.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only