Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping one specific error
Message
From
02/01/2003 13:08:39
 
 
To
02/01/2003 13:00:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00737411
Message ID:
00737416
Views:
19
John

In your ON ERROR routine just test for the error number with function ERROR()

HTH

>Okay, you'd think I would have hit this one by now, but I haven't... and it can't find it in the archives:
>
>Is there a way to trap for one specific error (1542, 'Base Tables changed' in this case), and if it is NOT this error allow standard VFP error handling to continue, otherwise run a routine (DBC rebuild routine in my case)?
>
>Thanks in advance. I know this one is probably really easy.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform