Article View: borland.public.cppbuilder.database.ado
Article #1052Re: Editing TADODataSet
From: Tumurbaatar S.
Date: Thu, 11 Nov 2004 10:54
Date: Thu, 11 Nov 2004 10:54
17 lines
1678 bytes
1678 bytes
It depends on TADODataSet::Sort property. I cleared this property and now all work. "Tumurbaatar S." <nospam_tumurbaatar@datacom.mn> wrote in message news:41933f40@newsgroups.borland.com... > There're 2 linked, master/detail tables (MSSQL2K). Insert/edit on the > master table works normally, but exception "Field PK cannot > be modified" is raised when I do it on the detail table. PK is a primary > key field of the detail table. > I tried it using TADODataSet, TADOTable and TADOQuery. All fail. > If I clear DataSource, MasterFields or query Params, i.e. remove > master-detail relationship, the detail table is edited normally. > Any ideas? > > > >
Technical Details
Message-ID:
<419344e8@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41933f40@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,9ff039a97cf0d4c5 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Tumurbaatar S." <nospam_tumurbaatar@datacom.mn> Newsgroups: borland.public.cppbuilder.database.ado References: <41933f40@newsgroups.borland.com> Subject: Re: Editing TADODataSet Date: Thu, 11 Nov 2004 18:54:37 +0800 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 202.131.2.5 Message-ID: <419344e8@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100170472 202.131.2.5 (11 Nov 2004 02:54:32 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail