Article View: borland.public.cppbuilder.database.ado
Article #3638Re: Please Help! I always get "record not found or changed by another user"
From: Jerry Bloomfield (TeamB)
Date: Tue, 23 Jul 2002 04:37
Date: Tue, 23 Jul 2002 04:37
24 lines
2455 bytes
2455 bytes
On Wed, 17 Jul 2002 10:39:53 +0200, "Joachim" <mfgjojo@gmx.de> wrote: >I didn�t find out why I get this error but I found out that it must be >something with the structure of the table. When I delete some fields out of >the table it sometimes works. It is a little bit difficult to find out what >fields because that table contains about 40 fields. I tried around but it is >impossible. This type of error commonly occurs if you have and double precision numbers, or floating point numbers, or any data type which is stored as one of those two. One way to resolve this error is usually to change the UpdateMode of the object from upWhereAll to either upWhereKey or upWhereChanged. This way the floating point value will only be compared when it is a key field or when it is a field that is changed. If this is the cause of the error, the only other solution I am aware of is to use a database/driver which implements IEEE Floating point rounding the same in the DB and in the driver. For some reason the MS ODBC drivers for SQL Server and MS Access do not seem to fit this category though... Jerry Bloomfield (TeamB) -- http://www.teamb.com JersWork@iwc.net Please do *NOT* send private e-mail without prior permission (my anti-spam filters will probably just delete it anyway <g>)
Technical Details
Message-ID:
<k4npjusbjq27210lulpqcn3acmc31j088n@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3d32c856$1_1@dnews> <3d352c3a_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,ac713613d2d71ccc X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-07-22 21:42:06 PST From: "Jerry Bloomfield (TeamB)" <JersWork@iwc.net> Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Please Help! I always get "record not found or changed by another user" Date: Mon, 22 Jul 2002 23:37:51 -0500 Organization: LSVFA - Latest Software Version Freaks Anonomous Reply-To: "Jerry Bloomfield (TeamB)" <JersWork@iwc.net> Message-ID: <k4npjusbjq27210lulpqcn3acmc31j088n@4ax.com> References: <3d32c856$1_1@dnews> <3d352c3a_2@dnews> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 64.7.25.176 X-Trace: dnews 1027399107 64.7.25.176 (22 Jul 2002 21:38:27 -0700) Lines: 24 X-Authenticated-User: jerswork Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews