Article View: borland.public.cppbuilder.database.ado
Article #6023Re: Quickreport + ADO is driving me crazy.....
From: Junlin Xie
Date: Tue, 21 Nov 2000 08:16
Date: Tue, 21 Nov 2000 08:16
23 lines
1750 bytes
1750 bytes
See the help content of property DataSource of TQuery, I'll find the answer.
"Olov Lundin" <olov.lundin@thoreb.se> wrote in message
news:3A13C62E.16E0BFD1@thoreb.se...
> Hi
> I�m trying to create a Master/Detail report based on 2 ADOQueries, the
> first query picks up data from the master-table och the second is
> supposed to pick up data from the detail-table. My problem is that I
> don�t know how to create as Mater/Detail relationship between the two
> queries.
> I�ve tried setting the SQL-statement to SELECT......WHERE
> Startnummer=query1->Fields->FieldByName("Startnummer")->AsString ....
> for the second query but it allwats picks up the data for the first
> "MasterRecord"
>
> Does anybody have a suggestion how I should solve my problem???
>
> Olle
>
>
>
>
Technical Details
Message-ID:
<3a1a2ef1_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!194.213.69.151!news.algonet.se!algonet!neel.uni2.net!newssuck.uni2.dk!bornews.borland.com!dnews!202.96.174.228References:
<3A13C62E.16E0BFD1@thoreb.se>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,8a96d50827a9ad28 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2000-11-21 00:15:19 PST Reply-To: "Junlin Xie" <jlxie@ce-lighting.com> From: "Junlin Xie" <jlxie@ce-lighting.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3A13C62E.16E0BFD1@thoreb.se> Subject: Re: Quickreport + ADO is driving me crazy..... Date: Tue, 21 Nov 2000 16:16:55 +0800 Lines: 25 Organization: CE Lighting X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 202.96.174.228 Message-ID: <3a1a2ef1_2@dnews> X-Trace: 21 Nov 2000 00:14:41 -0800, 202.96.174.228 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!194.213.69.151!news.algonet.se!algonet!neel.uni2.net!newssuck.uni2.dk!bornews.borland.com!dnews!202.96.174.228