Article View: borland.public.cppbuilder.database.ado
Article #5764Re: How to get the records of distinct ADOQuerys
From: Alexei Karas
Date: Thu, 08 Feb 2001 12:29
Date: Thu, 08 Feb 2001 12:29
23 lines
1431 bytes
1431 bytes
You may:
a) use UNION SQL's clause
b) create disconnected ADO recordset with structure you need and fill it
with data from your queries
Use what best fit your needs.
HTH,
Alexei
"Jose" <jpazos@integratel.es> wrote in message news:3a817c1c_1@dnews...
> I have an Access database with several tables, and I make one query for
each
> table. How can I get all the records together.
>
> For example.
> ADOQuery1 returns 10 records
> ADOQuery2 returns 5 records
>
> I wan to get a table with 15 records.
>
> Is there any way to do that
>
>
Technical Details
Message-ID:
<3a829150_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!sienna.impulse.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!212.109.63.210References:
<3a817c1c_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,597013cd623f8cfb X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-02-08 04:46:35 PST From: "Alexei Karas" <nospam_AlexKaras_thatsextraaswell@hotmail.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3a817c1c_1@dnews> Subject: Re: How to get the records of distinct ADOQuerys Date: Thu, 8 Feb 2001 14:29:26 +0200 Lines: 25 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: 212.109.63.210 Message-ID: <3a829150_1@dnews> X-Trace: 8 Feb 2001 04:30:08 -0800, 212.109.63.210 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!sienna.impulse.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!212.109.63.210