Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Try....catch problem
Versions des environnements
Network:
Windows 2003 Server
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
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