Article View: borland.public.cppbuilder.database.ado
Article #1013Refreshing master-detail sets
From: Tumurbaatar S.
Date: Fri, 03 Dec 2004 03:50
Date: Fri, 03 Dec 2004 03:50
9 lines
1511 bytes
1511 bytes
To refresh a master TADODataSet, I close and open it. I thought that a detail set (established thru MasterFields) automatically closes and re-opens following the master one. So its content also refreshes. But this does not happen. After making changes in both master and detail tables, I re-opened the master set, but did not touch the detail set. And the detail's content showed in a db grid remains unchanged. So I should manually reopen the detail set? And what happens with the detail set within a period when the master is closed and re-opened?
Technical Details
Message-ID:
<41afe279@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsswing.news.prodigy.com!prodigy.net!atl-c02.usenetserver.com!c03.atl99.usenetserver.com!news.usenetserver.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,53ece0618ddfa218,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Tumurbaatar S." <nospam_tumur@magicnet.mn> Newsgroups: borland.public.cppbuilder.database.ado Subject: Refreshing master-detail sets Date: Fri, 3 Dec 2004 11:50:28 +0800 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 202.131.2.5 Message-ID: <41afe279@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1102045817 202.131.2.5 (2 Dec 2004 19:50:17 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsswing.news.prodigy.com!prodigy.net!atl-c02.usenetserver.com!c03.atl99.usenetserver.com!news.usenetserver.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail