Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to handle Errors within Class Error Method
Message
De
31/07/1998 12:06:42
 
 
À
31/07/1998 11:19:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00123077
Message ID:
00123096
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform