Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error message
Message
From
07/12/2019 12:12:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
07/12/2019 12:02:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01672164
Message ID:
01672165
Views:
51
>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:

Error "your error message"

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform