Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to catch an error within an error handler in VFP6
Message
 
À
10/11/2004 01:26:15
James Chan
Objectmastery Pty Ltd
Hawthorn, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00959865
Message ID:
00959899
Vues:
10
There is no sucha a exception handler in VFP 6. But You can manage it by old & tesed way:
old_error = ON("ERROR")
fl_error  = .f.
ON ERROR fl_error  = .t.
Do Whatevr You want
ON ERROR &old_error
IF fl_error
   ** Manage Error here
ENDIF
>I know I can use Try..Catch in VFP8. How about VFP6?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform