Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Handling (Shutdown problem)
Message
De
05/10/2000 07:40:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Error Handling (Shutdown problem)
Divers
Thread ID:
00425207
Message ID:
00425207
Vues:
60
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
Fil
Voir

Click here to load this message in the networking platform