Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need help with error trapping and forms
Message
From
07/07/1999 16:47:48
 
 
To
07/07/1999 16:38:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00238505
Message ID:
00238523
Views:
12
>Thanks Edward. I was thinking along those lines, but I do not know how to hide the form from on error procedure. How would I do this? I would need to know which form is active, and then have a way of issuing hide from the procedure. (?)
>
>-Arne

You may, for example, add one more parameter to error routine:
ON ERROR Do Myerror With message(),error(),IIF(TYPE("thisform")="O",thisform,.NULL.)
and use this parameter within error procedure
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform