Thread View: borland.public.cppbuilder.database.ado
2 messages
2 total messages
Started by Erba Andrea
Fri, 10 Nov 2000 12:36
TADOQuery::SQL->Add opens TADOConnection
Author: Erba Andrea
Date: Fri, 10 Nov 2000 12:36
Date: Fri, 10 Nov 2000 12:36
14 lines
1428 bytes
1428 bytes
Hello, in using ADOExpress components.
I work with a TADOConnection and a TADOQuery * q linked to it.
If the connection is closed and I set q->SQL->Add("SELECT ..") the
component
activates the connection raising an error if the server isn't
reachable.
Also if I clean the ConnectionString, it restores the old string and
forces the connection!
I know that it's possible to set the sql property just before executing
it,
but I would like to know the reasons why the object needs to access the
database at this time.
Thank you !
andrea
Re: TADOQuery::SQL->Add opens TADOConnection
Author: Mark Edington (Borland)
Date: Tue, 14 Nov 2000 00:31
Date: Tue, 14 Nov 2000 00:31
6 lines
1073 bytes
1073 bytes
> but I would like to know the reasons why the object needs to access the > database at this time. To check for parameter information. Mark
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads