Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very simple on error question...
Message
 
 
To
20/02/2008 18:22:07
Chris Sund
Silhouette Solutions
Utah, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01294535
Message ID:
01294575
Views:
13
Hi Chris,

Yes, ON ERROR will be in effect as long as it's set and not overritten by ERROR() method of a class/form or/and TRY...ENDTRY.

>
>I have a simple question where I'm uncertain. Can I define my on error response in the main program of my application, and then have it use that response "Anytime" an error is thrown throughout the use of the software. The alternative in my mind is having to define in each individual prg or form file. I'm assumming I can set it in the main program, and then if I issue an alternitive in a seperate sub-program it will behave that way unless I set it back.
>
>I'm setting up the error trapping module to my software, and I just had this little tick in my head. I wasn't sure.
>
>Thanks
>
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform