Information générale
Catégorie:
Codage, syntaxe et commandes
>In my opinion, this is the way to do it...a global error handler should be set-up and this is one of the errors it could handle....
>
>Joe
>
>
>>Try using an error handler
>>
>>on error do errhandler()
>>
>>errhandler()
>>
>>if error() = 1582
>>
>>
>>endif
>>
>>
>>1582 I think is the error number for a field validation error. You can check in the help contents of Visual Foxpro under the Technical Reference.
Excuse me on this, but is this not a non-oop way of handling it?? I would think the form or whatever is doingthe update to the table/column should handle the error as apposed to GLOBAL error handler..
Am I wrong here??
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement