Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error message from number
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00468523
Message ID:
00468562
Views:
25
Michelle,

I undersood, what you mean. Unfortunatelly, there is no such function in VFP.

The simplest way to imitate it, though, is:
private pcErrMsg
on error pcErrMsg=message()
error myNumber
?pcErrMsg
on error
>Not quite what I meant... I need something like:
>
>lcMessage = GetErrMess(3)
>
>The result would be: lcMessage = "File is in use".
>
>Thanks,
>
>Michelle
>
>>Simple example:
>>
>>private pcErrMsg
>>on error pcErrMsg=message()
>>
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform