Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handling issue
Message
From
01/08/1999 14:51:42
Antonio Gubaira
Ingenieria Y Sistemas
Valencia, Venezuela
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Error handling issue
Miscellaneous
Thread ID:
00248688
Message ID:
00248688
Views:
64
Hi All,

Can somebody help me with this error handling problem ? I have a form which uses the "picbtns" subclass of "txtbtns" class included in VFP´s "wizbtns" library (wizards sub-folder). The form uses a table with a primary index in order to avoid repetition of project names in the database. If I try to add a new record with a repeated value in this field, the error handling routine in the "updaterows" method of the "txtbtns" container, traps the error and clears it before I get the chance of evaluating the ocurrence of the error by means of the ERROR() function in my form. Although I know it is not a good practice to let the user submit values for a primary index field, I would like to know how to override or workaround error messages generated by this class error handling routine. Which is the best professional approach for error handling if I want to keep on using VFP´s predefined classes (I have little experience designing my own).

Thanks
Thanks in Advanced or Hope This Helps
Next
Reply
Map
View

Click here to load this message in the networking platform