Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON ERROR Identify Calling FOMR
Message
 
 
À
22/11/2005 12:05:31
Bly Beach
Discovery Unlimited, Inc.
Arnoldsville, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01071208
Message ID:
01071216
Vues:
26
>I have a client who is having problems -- yet fails to contact us with errors. Our error handling routine
>is now emailing us with diagnostics through ON ERROR. However, I have not been successful in capturing the name
>of the form currently in use. The PROGRAM() parameter returns ERROR (the error .prg) not the calling form.
>
>All is triggered by one ON ERROR command in our startup program.

Try
IF TYPE("_SCREEN.Activeform.Name") = C
   lcFormName = _SCREEN.Activeform.Name
ENDIF
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform