Article View: borland.public.cppbuilder.database.ado
Article #3425FieldKind=fkLookup
From: Albert Fowler
Date: Sun, 18 Aug 2002 23:24
Date: Sun, 18 Aug 2002 23:24
19 lines
1562 bytes
1562 bytes
Trying to connect two tables with a lookup field. MainTable has a field with FieldKind as fkLookup. This Fields Name is "StateIndex_ID" StateTable has 2 Fields: one fkData "StateIndex_ID" same as other table field one fkData "State" the fkLookup LookupDataSet is set to StateTable LookupKeyField is set to "StateIndex_ID" LookupResultField is set to "State" KeyFields is set to "StateIndex_ID" the problem is there is no data displayed If I change the fieldkind to fkData it displays the index number for the corresponding table but set to fkLookup there is no display. What am i doing wrong? Thank you, Albert Fowler
Technical Details
Message-ID:
<3d602cba@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!cyclone2.usenetserver.com!news.webusenet.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,24f61913c971b3bf,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-08-18 16:39:28 PST From: "Albert Fowler" <webmaster@codegeneration.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: FieldKind=fkLookup Date: Sun, 18 Aug 2002 18:24:38 -0500 Lines: 22 Organization: Code Generation 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: 148.63.96.66 Message-ID: <3d602cba@dnews> X-Trace: dnews 1029713082 148.63.96.66 (18 Aug 2002 16:24:42 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!cyclone2.usenetserver.com!news.webusenet.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail