Re: Error Handling In Visual FoxPro - WeOnlyDo Discussion board

Re: Error Handling In Visual FoxPro (General questions)

by wodDamir, Friday, November 02, 2007, 19:58 (6230 days ago) @ ProductTester

Hi,

I'm not sure what you're reffering to. The component provides Error descriptions, which you can change to whatever you want and provide it that way to the end user.

The events also provide the Errors which might occur.

Also, you can use the try...catch blocks in order to trap the error, and change the error to whatever text you want.

As for Connection status, you can access the State Property to check what state the component is currently. This is also provided in the StateChange Event.

Hope I helped.

Regards,
Damba


Complete thread: