Re: Error Handling In Visual FoxPro - WeOnlyDo Discussion board

Re: Error Handling In Visual FoxPro (General questions)

by wodDamir, Friday, November 02, 2007, 21:49 (6230 days ago) @ ProductTester

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: