Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Try....catch problem
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Try....catch problem
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01000557
Message ID:
01000557
Vues:
73
I have this code in my menu

Local oERR As Exception
Try
DO Form XX
Catch
Try
Do Form a_error With oERR
Catch
**
EndTry
Finally
Release oERR
Endtry

In my form XX i have a textbox with Date value and when is inserted a date like 01/01/222 (is an error) my form a_error is opened and i can close it and return to my textbox where a male another error and confirm the same date. In this second case it seems that Try catch structure is not active and i have normal foxpro error message. With other errors i can quit my application but this is not an error where i have to quit. Whay can i do to run again my a_error form more than once ?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform