Article View: borland.public.cppbuilder.database.multi-tier
Article #872Re: Calling a TQuery component
From: 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.
>
>
>
>
>
>
>
>
>
Technical Details
Message-ID:
<3a844303$1_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!skynet.be!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!24.201.124.18References:
<3a71f8c1$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: fcd2b,27db950cb45f8381 X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-02-09 11:32:45 PST Reply-To: "marcelle hutton" <mhutton@videotron.ca> From: "marcelle hutton" <mhutton@videotron.ca> Newsgroups: borland.public.cppbuilder.database.multi-tier References: <3a71f8c1$1_2@dnews> Subject: Re: Calling a TQuery component Date: Fri, 9 Feb 2001 14:22:09 -0400 Lines: 72 Organization: DTD X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 24.201.124.18 Message-ID: <3a844303$1_2@dnews> X-Trace: 9 Feb 2001 11:20:35 -0800, 24.201.124.18 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!skynet.be!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!24.201.124.18