Article View: borland.public.cppbuilder.database.ado
Article #4776Creating lookupfield using more than one keyfield.
From: Erik
Date: Fri, 19 Oct 2001 12:20
Date: Fri, 19 Oct 2001 12:20
13 lines
1215 bytes
1215 bytes
I have a problem creating a lookupfield using more than one keyfield. (When I use just one keyfield all goes well). According to the C++ help I should set the KeyFields and the LookupKeyFields property of my TField and seperate each keyfield name with a semicolon. When I do so the following error arises: ADOTabe: Field 'keyfield1;keyfield2' not found. Any ideas? Lots of thanks. Erik.
Technical Details
Message-ID:
<3bd018eb_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,f9c09aab118be781,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-10-19 05:20:10 PST From: "Erik" <erik@ietsbinnenaxi.nl> Newsgroups: borland.public.cppbuilder.database.ado Subject: Creating lookupfield using more than one keyfield. Date: Fri, 19 Oct 2001 14:20:58 +0200 Lines: 15 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: 195.108.253.210 Message-ID: <3bd018eb_1@dnews> X-Trace: dnews 1003493611 195.108.253.210 (19 Oct 2001 05:13:31 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews