Re: ADO Connection Failure
From: Andrew (abaylis_nos_at_spamcop.net)
Date: 01/21/04
- Previous message: Brian Bushay TeamB: "Re: How to convert NULL value to a empty string?"
- In reply to: Keith Comley: "ADO Connection Failure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 21 Jan 2004 15:54:17 +1100
"Keith Comley" <klcomley@ntlworld.com> wrote in message
news:400d9ee6@newsgroups.borland.com...
> Second Question - Does anyone know of a way to reestablish the
ADOConnection
> without Closing all of the active Queries using that connection?
>
> Thanks for all your help,
> Todd"
>
>
If the active queries have client-side cursors, it is (in theory) possible
to turn them into disconnected recordsets, open another connection and then
reconnect them. The lock mode (I think) needs to be batchoptimistic so that
changes made while disconnected can be cached.
If all you want to do is replace one ConnectionObject with another, you'll
have to look within the source code, but it should be possible with some
tinkering.
Cheers,
Andrew
- Previous message: Brian Bushay TeamB: "Re: How to convert NULL value to a empty string?"
- In reply to: Keith Comley: "ADO Connection Failure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|