Article View: borland.public.cppbuilder.database.ado
Article #2486Re: Key Column Error
From: Viatcheslav V. Vassiliev
Date: Fri, 30 May 2003 05:23
Date: Fri, 30 May 2003 05:23
29 lines
2114 bytes
2114 bytes
When using client-side cursor you should have primary key (or at least unique index) on every table that is affected by update. Client-side cursor changes record by executing UPDATE ... SET ... WHERE ... SQL command. If you have identical rows, all those rows will be updated. ---------------------------------------------------------------- Regards, Viatcheslav V. Vassiliev http://www.oledbdirect.com The fastest way to access MS SQL Server, MS Jet (MS Access) and Interbase (through OLEDB) databases. "B Wilson" <bobknows@netzero.net> �������/�������� � �������� ���������: news:3ed645c6@newsgroups.borland.com... > Hello All, > I am writing a database program that uses Access. In the tables I > sometimes have records that are identical, which is done intentionally. > However, when I try to modify one of those records, I am getting the > following error "Key column information is insufficient or incorrect. Too > many rows were affected by the update." I have builder 6 professional and > access xp. What can I do to fix this problem? > > Bob > >
Technical Details
Message-ID:
<3ed6eea2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3ed645c6@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,b287acb426db509c X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-05-29 23:09:24 PST From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3ed645c6@newsgroups.borland.com> Subject: Re: Key Column Error Date: Fri, 30 May 2003 09:23:29 +0400 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 213.247.201.57 Message-ID: <3ed6eea2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1054273186 213.247.201.57 (29 May 2003 22:39:46 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail