Re: Error Handling In Visual FoxPro (General questions)

by wodDamir, (6396 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

locked

Complete thread: