Article View: borland.public.cppbuilder.database.ado
Article #2196Re: TADOTable->Post
From: Daniel
Date: Fri, 10 Oct 2003 05:42
Date: Fri, 10 Oct 2003 05:42
24 lines
1695 bytes
1695 bytes
I'm a bit rusty on my records, but are you sure you are actually pointing to a valid record? I'm only asking this because I can't remember getting a fault in editing a record unless there were no records in the table, or the field I was attempting to edit was invalid. "Palmetzhofer Dietmar" <dietmar.palmetzhofer@boku.ac.at> wrote in message news:3f4b1312@newsgroups.borland.com... > I am trying to make a change to an acitve record in my ado-table, but I am > getting an exception: "Update failed, record could not be found" (or > something similar). Here is the code: > > CONES_DataModule->TADOPeriode->Edit(); > CONES_DataModule->TADOPeriode->FieldValues["CCF"]=stand1->Periods[i].CCF; > CONES_DataModule->TADOPeriode->Post(); > Any idea how to solve this? > Thanks, > Didi > >
Technical Details
Message-ID:
<3f8646bf@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f4b1312@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,62843a87713027ee X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-10-09 23:09:00 PST From: "Daniel" <admin@netcomm.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3f4b1312@newsgroups.borland.com> Subject: Re: TADOTable->Post Date: Fri, 10 Oct 2003 15:42:22 +1000 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 202.174.228.150 Message-ID: <3f8646bf@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1065764543 202.174.228.150 (9 Oct 2003 22:42:23 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail