Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error message
Message
From
07/12/2019 12:02:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Error message
Miscellaneous
Thread ID:
01672164
Message ID:
01672164
Views:
69
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
Map
View

Click here to load this message in the networking platform