See SQLIDLEDISCONNECT() Function
>
>I have a VFP9 C/S application
>
>Occasionally, the DB connection will just drop off, usually if I leave it idle for a while.
>
>Then user will see the ugly message "Non recoverable error"
>
>Is there a way to trap these in my app so that when it happen I can auto logout the user or reestablish the connection?
>
>Or what is the best way to handle this?
>
>Your advice much appreciated.
>
>Thanks & Best Regards
--sb--