Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ON ERROR mystery
Message
From
11/08/2005 11:25:01
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01040132
Message ID:
01040266
Views:
17
Hi Cyrus.

>- My prg1.prg uses bunch of "ON ERROR do errhand" commands to perform specific functions (add accounts, items, etc. when they don't exist).

To add to what Peter and Fabio have said, how about using TRY ... CATCH rather that ON ERROR? It provides true local error handling. You need to have VFP 8 or later.

Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform