ado.connected:=false fails

From: Jozza (hmm_at_hmm.com)
Date: 12/21/04


Date: Tue, 21 Dec 2004 19:54:32 +0100

Hi,

My network fails, and when i execute an ado (TAdoConnection) statement i get
an error from the odbc driver that connection has been lost.
Ado.connected returns true at this time. But when i try to reconnect by
first setting ado.connected:=false it fails with an error from the odbc
driver and ado.connected is still true. I cant find a way to reconnect even
if i free the adoConnection object it fails to free. Is there a solution to
this?

TIA, Jozza



Relevant Pages