🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1530

Lookup Combo box and composite PK

#1530
From: Mza
Date: Thu, 06 May 2004 17:18
11 lines
1502 bytes
IAm developing an DB Application and in my DB realations (At DBMS) i have a
composite primary Keys(ex Pk1,Pk2 at Table Product) So in these tables each
Row Refrenced usnig more than one field Pk1,Pk2
in my interface i use lookupcombo Box that display the name of product for
example and need to supply onther table wiz not only one field but the 2
fields Pk1,and Pk2 when i try to put Key field like this (Pk1;Pk2) an error
Msg appear told me " Field Pk1;Pk2 not found" So i tred to use lookupfield
(and key field accept 2 fields and i call it "Product Name") and to
use these field after that as Datafield in Lookupcombo box but it raise the
Same exeption
So what to do ?
Technical Details
Message-ID: <409a6749$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,b1c408773d190bc,start
X-Google-Attributes: gid10698b,public
From: "Mza" <mzagha80@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Lookup Combo box and composite PK
Date: Thu, 6 May 2004 19:18:25 +0200
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 195.238.38.239
Message-ID: <409a6749$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1083860809 195.238.38.239 (6 May 2004 09:26:49 -0700)
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail