Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00662861
Message ID:
00663593
Vues:
17
I don't use error methods within my forms, but I can see how that would cause a problem. What you may need to do is set a custom property that shows whether or not you're calling the exclusive function. Then, in your error method, check if the flag is set and let the global error handler deal with the error if it is.

>Hi,
> I have retry your code. I found that, It works for me last time is because I call your function from command button. And I don't have any erro handling in command.error(). This time, I tried to call it from my form.mymethod(), which I have error handling in my form.error(). And the result is, form.error() always being raised if any error occured.
>
>Does it VFP behavour?
>
>Thank you
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform