Information générale
Catégorie:
Codage, syntaxe et commandes
>>Hi,
>>
>>I have seen one can pass its own errormessage instead of the VFP Errormessage text to your error catcher, something like : Error 8000 = "Cannot update tabel myNames"
>>Where the text is a variable.
>>Errorcatcher is invoked with
>>On Error Do ERRORLOGGING With Error( ), Message( ), Message(1), Program( ), Lineno( ), Sys(0)
>>In your errorlogging the parameter tcMessage will than be replaced with this variable, provided you give the correct Errornumber instead of the VFP Errornumber.
>>
>>Anybody around who can give me a hand, which errornumber I should pass to get this done?
>
>Omit the number and just pass the message:
>
Hmm, thanks
I will try, but that seems to mixup the parametetrs.
Koen
>Error "your error message"
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