Can you efficiently check an ODBC connection before using it ?
From: Eddy Fontaine (someone_at_microsoft.com)
Date: 01/27/05
- Next message: Jeremy Collins: "Re: Can you efficiently check an ODBC connection before using it ?"
- Previous message: Ante Smolcic: "Re: TStringList with interfaces instead of objects?"
- Next in thread: Jeremy Collins: "Re: Can you efficiently check an ODBC connection before using it ?"
- Reply: Jeremy Collins: "Re: Can you efficiently check an ODBC connection before using it ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 Jan 2005 13:43:12 +0100
Hi there !
It seems to me that the ADOConnection can tell you 'connected' even
if the network connection to the database is defective...
How can one be sure to be 'connected' ?
Or should i disconnect after transactions and reconnect when i need it ?
Thanks,
Eddy.
- Next message: Jeremy Collins: "Re: Can you efficiently check an ODBC connection before using it ?"
- Previous message: Ante Smolcic: "Re: TStringList with interfaces instead of objects?"
- Next in thread: Jeremy Collins: "Re: Can you efficiently check an ODBC connection before using it ?"
- Reply: Jeremy Collins: "Re: Can you efficiently check an ODBC connection before using it ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|