Re: Error Handling In Visual FoxPro (General questions)
Hi,
Did you try the Error Event? The Error event should be triggered once an error occurs.
Other then that, you can try using ON ERROR statement. This would allow you to create a new class or event in which you could then handle errors.
However, if you are using VFP 7+, you should be able to use Try...Catch...Finally blocks on methods to catch the error silently.
Hope I helped.
Regards,
Damba
Complete thread:
- Error Handling In Visual FoxPro - ProductTester, 2007-11-02, 19:36
- Re: Error Handling In Visual FoxPro - wodDamir, 2007-11-02, 19:58
- Re: Error Handling In Visual FoxPro - ProductTester, 2007-11-02, 20:33
- Re: Error Handling In Visual FoxPro - wodDamir, 2007-11-02, 21:49
- Re: Error Handling In Visual FoxPro - ProductTester, 2007-11-02, 20:33
- Re: Error Handling In Visual FoxPro - wodDamir, 2007-11-02, 19:58