🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #467

Re: TClientDataSet - Lookup with miltiple key field

#467
From: Ben
Date: Mon, 12 Nov 2001 07:04
29 lines
1624 bytes
It was caused by other aspect..
I was using 3rdparty grid control, which looks like can not handle this.....

"Ben" <nakagawa@xtra.co.nz> wrote in message news:3bef6109_1@dnews...
> Hi all,
>
> I have a problem with setting up lookup field which requires multiple
keys.
>
> I want to use combined key filed to lookup particular data, but I always
get
> error message said, CDS1 field "Key1;Key2;Key3" is not found.
>
>
> My set up looks like:
>
> CDS1.LookupKeyFields = "Key1;Key2;Key3";
> CDS1.KeyKeyFields = "Key1;Key2;Key3";
> CDS1.LookupResultField = Result;
> LookupDataSet = CSD2;
>
> CDS2 has filed Key1, Key2 and Key3 as a combined primary key.
>
>
> Any idea?
>
> Ben
>
>
Technical Details
Message-ID: <3bef775d_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-peer-west.sprintlink.net!news.sprintlink.net!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3bef6109_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,c28373273a7cebb2
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-11-11 23:31:42 PST
From: "Ben" <nakagawa@xtra.co.nz>
Newsgroups: borland.public.cppbuilder.database.multi-tier
References: <3bef6109_1@dnews>
Subject: Re: TClientDataSet - Lookup with miltiple key field
Date: Mon, 12 Nov 2001 20:04:40 +1300
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 203.96.102.161
Message-ID: <3bef775d_1@dnews>
X-Trace: dnews 1005549405 203.96.102.161 (11 Nov 2001 23:16:45 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-peer-west.sprintlink.net!news.sprintlink.net!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews