🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2340

TADOTable->Post

#2340
From: Palmetzhofer Dietmar
Date: Tue, 26 Aug 2003 07:59
10 lines
1553 bytes
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: <3f4b1312@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,62843a87713027ee,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-08-26 01:12:37 PST
Reply-To: "Palmetzhofer Dietmar" <dietmar.palmetzhofer@boku.ac.at>
From: "Palmetzhofer Dietmar" <dietmar.palmetzhofer@boku.ac.at>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: TADOTable->Post
Date: Tue, 26 Aug 2003 09:59:01 +0200
Lines: 12
Organization: Univ. f. Bodenkultur
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 62.46.233.3
Message-ID: <3f4b1312@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061884690 62.46.233.3 (26 Aug 2003 00:58:10 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail