Article View: borland.public.cppbuilder.database.ado
Article #5432Re: How to change master/detail in running time?
From: Cesar
Date: Thu, 03 May 2001 02:27
Date: Thu, 03 May 2001 02:27
30 lines
1866 bytes
1866 bytes
Hi Mark,
Thank you, it is helpful.
But I still have another quesion, how do I change the join field name?
Like table1.bid = table2.cid
Thank you.
"Mark Cashman" <mcashman@temporaldoorway.com> wrote in message
news:3AF0BCF0.17D8D694@temporaldoorway.com...
> Hi, Cesar!
>
> The first thing you need to do is close the detail dataset and set the
> DataSource property to null. That will detach the data set from the
> master. Make your changes and then set the DataSource property to
> whatever data source should drive things in the detail data set.
>
> I hope that helps.
>
> ------
> Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at
> http://www.temporaldoorway.com
> - Original digital art, writing, music and more -
> C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
> (Join us!)
> http://www.temporaldoorway.com/programming/index.htm
> ------
>
>
Technical Details
Message-ID:
<3af0c1bf$1_2@dnews>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3af0a55d$1_2@dnews> <3AF0BCF0.17D8D694@temporaldoorway.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,12470dbc346bdc69 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-05-02 19:44:02 PST From: "Cesar" <ming@web2us.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3af0a55d$1_2@dnews> <3AF0BCF0.17D8D694@temporaldoorway.com> Subject: Re: How to change master/detail in running time? Date: Wed, 2 May 2001 22:27:00 -0400 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 24.51.22.234 Message-ID: <3af0c1bf$1_2@dnews> X-Trace: dnews 988856767 24.51.22.234 (2 May 2001 19:26:07 -0700) Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews