🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

parent table 's pk has changed , how to change detail table 's parent key ?

#3735
From: lcl
Date: Sat, 29 Jun 2002 08:18
12 lines
1440 bytes
Hi all ,

I have create a master/detail relation in 2 table :
order and order_detail
orderid is order table's primary key , and user can change this key , but
when user change the key , the detail item from table :order_item will not
change its orderid to the new value user inputed but hide all items !

How to resolve this problem ? and how do you do for this scenerio ?
Thanks very much .
best Regards
lcl
Technical Details
Message-ID: <3d1d6ad4_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-08!supernews.com!news-out.visi.com!hermes.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,62340679e293c964,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-06-29 01:09:13 PST
Reply-To: "lcl" <lcl@ricobest.com>
From: "lcl" <lcl@ricobest.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: parent table 's pk has changed , how to change detail table 's parent key ?
Date: Sat, 29 Jun 2002 16:18:03 +0800
Lines: 13
Organization: ricobest
MIME-Version: 1.0
Content-Type: text/plain;
 charset="big5"
Content-Transfer-Encoding: 7bit
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: 61.152.182.210
Message-ID: <3d1d6ad4_2@dnews>
X-Trace: dnews 1025338068 61.152.182.210 (29 Jun 2002 01:07:48 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-08!supernews.com!news-out.visi.com!hermes.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!dnews