Re: how to disable an AdoConnection
- From: "Vitali Kalinin" <vitkalinin@xxxxxxxxx>
- Date: Mon, 17 Jul 2006 12:26:46 +0300
"Gabriel" <tdrgabi@xxxxxxxxx> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:44bb2146@xxxxxxxxxxxxxxxxxxxxxxxxx
Assign server and password in BefforeConnect event and you will be ok.
HI, i have an delphi ado connection coupled with lots of
TAdoStoredProcs.
The problem is that sometimes the storedprocs are left active (in
designer) by me or other components.
when i deploy the application, to other clients, before i can even try
to set the new server and password the stored procs are trying to
connect to the old one ... resulting in a harmless but irritating
error.
i tryied to stop TAdoConnection to automatically connect until i let it
with BefforeConnect event ,
do you know any way of stoping it from connecting? maybe a flag or
something .. did u had the same problem?
.
- Follow-Ups:
- Re: how to disable an AdoConnection
- From: tdrgabi
- Re: how to disable an AdoConnection
- References:
- how to disable an AdoConnection
- From: Gabriel
- how to disable an AdoConnection
- Prev by Date: Re: how to disable an AdoConnection
- Next by Date: Re: how to disable an AdoConnection
- Previous by thread: Re: how to disable an AdoConnection
- Next by thread: Re: how to disable an AdoConnection
- Index(es):
Relevant Pages
|