Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Identification of Screen when Error Trapping
Message
De
27/05/2011 09:16:26
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01511956
Message ID:
01512041
Vues:
67
>Help...
>
>Is there anyway to identify the FORM (eg, NAME) when error trapping?
>
>I currently trap the usual (ERROR(), MESSAGE(), PROGRAM(), LINENO()), but if the error is in the INIT PROCEDURE of a FORM
>all I see for PROGRAM() is "FORM.INIT" so I don;t know which form produced the error.
>
>Harry Riley

Use ASTACKINFO() in your error handler.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform