Code example "OnConnectionLost"

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
tofse
Posts: 1
Joined: Thu 22 Mar 2012 06:50

Code example "OnConnectionLost"

Post by tofse » Thu 22 Mar 2012 06:58

Hello,
do you have a tutorial (code example) for "OnConnectionLost". I want to keep database connection, but if connection is lost, the reconnect doesn't work

Christof

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Thu 22 Mar 2012 10:57

Hello,

You can find an example of working with the OnConnectionLost event in the ..\Devart\PgDac for Delphi XXX\Demos\Miscellaneous\FailOver\ directory.

Post Reply