Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Raising Errors - Should I
Message
 
To
30/08/2000 12:54:59
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00410823
Message ID:
00411053
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform