Automatic Reconnect

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 8
Joined: Fri 25 Feb 2005 14:12

Automatic Reconnect

Post by andi_d » Fri 05 Dec 2008 14:18


I'd like to enhance my source-code with a function that my database is reconnecting automaticly if connection to database got lost. (maybe if remote server is down).

Has anyone an idea how this can be done?

Thanks for helping!!!!

I'm usind SDAC 4.70.042 and SQL Server 2000


Devart Team
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 09 Dec 2008 08:39

You can set the LocalFailover option to True.
You can find more detailed information about it in the "Working in an unstable network" topic of SDAC help.

Post Reply