Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to handle Errors within Class Error Method
Message
From
31/07/1998 12:06:42
 
 
To
31/07/1998 11:19:43
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00123077
Message ID:
00123096
Views:
18
>The problem occurs when inside one of my methods, I attempt to store the users name who has the error. If the Users table is opened exclusive somewhere else, when I attempt to open it, I get the standard windows error message, which I don't want the users to have displayed.
>
>I have tried to do another on error statement within my error method, to display a error message using my screens which works, but it fires after the windows message has been displayed.
>
>Any ideas?

I would suggest that you have a users class or add a property that holds the user name to your application object. This way you only have to access the property that holds the userid.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform