Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages
Started by Edward Ascencio
Fri, 26 Jan 2001 22:24
Calling a TQuery component
Author: Edward Ascencio
Date: Fri, 26 Jan 2001 22:24
Date: Fri, 26 Jan 2001 22:24
49 lines
2318 bytes
2318 bytes
Hi, Guys
I was wondering I'm writting a application using C++Builder 3, In
serval forms I DBComboBox acting as drop list components that generate
querys from a Oracle server. And since very limited documentation call
referencing TQuery within a DataModule I was wondering you any advice.
For Example under my product page I have a DBComboBox that under its events
properities on DropDown
I want call a Query Component thats within a DataModule and execute its SQL
Statement.
How ?
I know I can write a AnsiString Statement
Would it be something like
TDataModule->Query2->SQL(TString);
//--------------------------------------------------------------------------
-
void __fastcall TForm1::DBLookupComboBox1DropDown(TObject *Sender)
{
}
//--------------------------------------------------------------------------
-
Another thing how can I search all Header,Resource files, *.cpp, and object
files for any reference to elements that no longer exisits in the source
file.
Or how can rebuild all source files after having deleted a line of code from
one of the source files. It tends to reference a external call to a object
Last item on my list how can I bypass using a TQuery component and just
write some thing in straight c++ to access and manage data quries from a
database.
And when a generating a quries with TQuery how can I take its output from
the sql server and display it on a dbgrid component.
Sincerely,
Edward A.
Re: Calling a TQuery component
Author: marcelle hutton
Date: Fri, 09 Feb 2001 18:22
Date: Fri, 09 Feb 2001 18:22
70 lines
2668 bytes
2668 bytes
"Edward Ascencio" <cedwarda@altavista.com> a οΏ½crit dans le message news:
3a71f8c1$1_2@dnews...
> Hi, Guys
>
> I was wondering I'm writting a application using C++Builder 3, In
> serval forms I DBComboBox acting as drop list components that generate
> querys from a Oracle server. And since very limited documentation call
> referencing TQuery within a DataModule I was wondering you any advice.
>
> For Example under my product page I have a DBComboBox that under its
events
> properities on DropDown
> I want call a Query Component thats within a DataModule and execute its
SQL
> Statement.
>
> How ?
> I know I can write a AnsiString Statement
> Would it be something like
> TDataModule->Query2->SQL(TString);
>
>
file://---------------------------------------------------------------------
-----
> -
>
> void __fastcall TForm1::DBLookupComboBox1DropDown(TObject *Sender)
> {
>
>
> }
>
file://---------------------------------------------------------------------
-----
> -
>
> Another thing how can I search all Header,Resource files, *.cpp, and
object
> files for any reference to elements that no longer exisits in the source
> file.
> Or how can rebuild all source files after having deleted a line of code
from
> one of the source files. It tends to reference a external call to a object
>
>
>
> Last item on my list how can I bypass using a TQuery component and just
> write some thing in straight c++ to access and manage data quries from a
> database.
> And when a generating a quries with TQuery how can I take its output
from
> the sql server and display it on a dbgrid component.
>
>
>
> Sincerely,
>
>
>
> Edward A.
>
>
>
>
>
>
>
>
>
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