Article View: borland.public.cppbuilder.database.ado
Article #5057Re: Object was open
From: Mark Cashman
Date: Fri, 10 Aug 2001 11:09
Date: Fri, 10 Aug 2001 11:09
22 lines
1569 bytes
1569 bytes
Hi, Hans!
I'm not sure what is causing the problem, but you can try detaching the
data source to the children before doing the master locate - for
instance...
Detail->DataSource = NULL;
if (!Master->Locate(...)) Master->First(); // Make sure not at BOF
Detail->DataSource = MasterSource;
This may cause things to properly reset.
------
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:
<3B73C0F8.76923B67@temporaldoorway.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnewsReferences:
<3B714326.D1F6607F@brueckmann-gmbh.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,88b78f66967d3651 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-08-10 04:16:35 PST Message-ID: <3B73C0F8.76923B67@temporaldoorway.com> Date: Fri, 10 Aug 2001 07:09:45 -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: Object was open References: <3B714326.D1F6607F@brueckmann-gmbh.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.14.197.193 X-Trace: dnews 997441854 24.14.197.193 (10 Aug 2001 04:10:54 -0700) Lines: 24 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews