Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Identification of Screen when Error Trapping
Message
From
27/05/2011 04:16:35
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01511956
Message ID:
01511996
Views:
40
>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

Hi,

Try to work with John Henn's errorlogging procedure. This will give you the callstack so you can read which (last) line errors

Regards,

Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform