Re: how to disable an AdoConnection
- From: "tdrgabi" <tdrgabi@xxxxxxxxx>
- Date: 17 Jul 2006 02:41:11 -0700
the problem is that i need the connection string because in design mode i open the datasets , when im building the grids columns to see if the data is shown correct, or when im doing a raport file in raport designer.
and if i will relly on manually removing the connection string every time i build a version (often) ... sometimes im gonna forget and the clients will get the nice error at start.
i was thinking if i can stop from code the connection from connecting ... something like having a flag CanConnect and setting it only after i choose the server and password.
now i need a way to stop the connection from connecting i tryied on BeforeConnect if CanConnect=false then Abort ... but it still connects ...
removing the connection string in before connect doesnt help, because i think it already uses it, because even if i make the string empty in before connect ,.... it still connects.
.
- Follow-Ups:
- Re: how to disable an AdoConnection
- From: Vitali Kalinin
- Re: how to disable an AdoConnection
- References:
- how to disable an AdoConnection
- From: Gabriel
- Re: how to disable an AdoConnection
- From: Vitali Kalinin
- 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
|