Article View: borland.public.cppbuilder.database.ado
Article #5431Re: How to change master/detail in running time?
From: Mark Cashman
Date: Thu, 03 May 2001 02:05
Date: Thu, 03 May 2001 02:05
17 lines
1573 bytes
1573 bytes
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:
<3AF0BCF0.17D8D694@temporaldoorway.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3af0a55d$1_2@dnews>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:12:05 PST Message-ID: <3AF0BCF0.17D8D694@temporaldoorway.com> Date: Wed, 02 May 2001 22:05:36 -0400 From: Mark Cashman <mcashman@temporaldoorway.com> Reply-To: mcashman@temporaldoorway.com X-Mailer: Mozilla 4.77 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: How to change master/detail in running time? References: <3af0a55d$1_2@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.14.197.193 X-Trace: dnews 988855488 24.14.197.193 (2 May 2001 19:04:48 -0700) Lines: 19 Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews