Information générale
Titre:
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement