🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2411

Re: A TADOQuery that call the content of another TADOQuery ???

#2411
From: Harald Albrecht
Date: Tue, 22 Jul 2003 06:21
33 lines
1924 bytes
Hi Jeremy.

Try Filter:

My ADOQuery1 call SELECT * FROM TBALE WHERE Facteur = 2
ADOQuery1->Filter = "YourFilterExpression"
ADOQuery1->Filtered = true

DoWhatYouWantWithFiltered

ADOQuery1->Filtered = false

DoWhatYouWantWithAll

"Jeremy" <jeremydumais@hotmail.com> schrieb im Newsbeitrag
news:3f1c48c6$1@newsgroups.borland.com...
> Hi, I want to know how a TADOQuery can call another TADOQuery?
>
> Exemple :
>
> My ADOQuery1 call SELECT * FROM TBALE WHERE Facteur = 2
>
> Record Count : 5
>
> I want to recall that query but incorporate more restriction.
>
> Exemple : SELECT * FROM (ADOQuery1)  WHERE Chaise = 3
>
> Thanks
> Jerry
> jeremydumais@hotmail.com
>
>
Technical Details
Message-ID: <bfil33$ne3$01$1@news.t-online.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <3f1c48c6$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,2e2371139dc60923
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-07-21 23:22:22 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
From: "Harald Albrecht" <HA@HPA-Update.de>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: A TADOQuery that call the content of another TADOQuery ???
Date: Tue, 22 Jul 2003 08:21:55 +0200
Organization: T-Online
Lines: 35
Message-ID: <bfil33$ne3$01$1@news.t-online.com>
References: <3f1c48c6$1@newsgroups.borland.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1058854819 01 24003 Hy8UVb3VS0aBN9 030722 06:20:19
X-Complaints-To: usenet-abuse@t-online.de
X-ID: GDHhEMZQZeCkfksplTTBjyK4DUXQsqTRy1wavSOBkckuZjWQ59IRYG
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165