Article View: borland.public.cppbuilder.database.ado
Article #6005Quickreport + ADO is driving me crazy.....
From: Olov Lundin
Date: Thu, 16 Nov 2000 11:34
Date: Thu, 16 Nov 2000 11:34
14 lines
1438 bytes
1438 bytes
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:
<3A13C62E.16E0BFD1@thoreb.se>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!195.22.71.206Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,8a96d50827a9ad28,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2000-11-16 03:40:23 PST Message-ID: <3A13C62E.16E0BFD1@thoreb.se> Date: Thu, 16 Nov 2000 12:34:06 +0100 From: Olov Lundin <olov.lundin@thoreb.se> X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: Quickreport + ADO is driving me crazy..... Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 195.22.71.206 X-Trace: 16 Nov 2000 03:32:42 -0800, 195.22.71.206 Lines: 18 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!195.22.71.206