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