Article View: borland.public.cppbuilder.database.multi-tier
Article #466TClientDataSet - Lookup with miltiple key field
From: Ben
Date: Mon, 12 Nov 2001 05:39
Date: Mon, 12 Nov 2001 05:39
21 lines
1424 bytes
1424 bytes
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:
<3bef6109_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.fh-hannover.de!news.uni-stuttgart.de!nntp.cs.uni-magdeburg.de!news.boerde.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,c28373273a7cebb2,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-11-11 21:50:20 PST From: "Ben" <nakagawa@xtra.co.nz> Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: TClientDataSet - Lookup with miltiple key field Date: Mon, 12 Nov 2001 18:39:32 +1300 Lines: 23 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: 210.54.110.174 Message-ID: <3bef6109_1@dnews> X-Trace: dnews 1005543689 210.54.110.174 (11 Nov 2001 21:41:29 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.fh-hannover.de!news.uni-stuttgart.de!nntp.cs.uni-magdeburg.de!news.boerde.de!dnews