Article View: borland.public.cppbuilder.database.ado
Article #2637Multiple views of a table
From: Jose Hortal
Date: Wed, 30 Apr 2003 09:00
Date: Wed, 30 Apr 2003 09:00
9 lines
1490 bytes
1490 bytes
Hi, I'm new using ADO with C++ Builder and I have the following problem: When opening two forms with a dbgrid linked to the same table, the grids are linked despite that the datasource and the tables are different objects ( the TADOTable objects refer to the same table, but are different objects ). If I make one of the tables a detail, the other also gets linked to the master. In general all the operations that I make with one table is replicated by the other. Is there some way that the two table objects stay independent ? Thanks in advance...
Technical Details
Message-ID:
<3eaf90fe$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,8d7509bddae6b6d1,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-04-30 02:09:57 PST From: "Jose Hortal" <jlhortal@mothorsi.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: Multiple views of a table Date: Wed, 30 Apr 2003 11:00:25 +0200 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 80.33.238.155 Message-ID: <3eaf90fe$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1051693310 80.33.238.155 (30 Apr 2003 02:01:50 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail