Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Raising Errors - Should I
Message
 
À
30/08/2000 12:54:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00410823
Message ID:
00411053
Vues:
15
>Hi Marty,
>
>IMHO you don't want to error trap and shutdown an app because of input error. This penalizes the user for something that could be dealt with more positively, such as a messagebox or other means.
>
Good point John. I agree 100%. I wasn't clear in my example about the value being checked. It's not an input value, but a lookup value from a table. The user cannot modify the lookup value from the module I'm working on. Since I can't fix the value, I'm considering throwing the whole mess over to the error handler, instead of writing custom "The xxx value is too high, contact the manager of yyy system." messages.

Thanks for your advice. I always count on it.

Marty
Marty Smith, CSQE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform