General information
Category:
Coding, syntax & commands
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?
Regards,
Koen
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only