🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TADOTable->Post

#2198
From: Palmetzhofer Dietmar
Date: Mon, 13 Oct 2003 09:02
34 lines
2171 bytes
Thanks, thats the point.
I insert the record bevore. After this I have to bookmark the record, close
the dataset, open it and set the bookmark. Then it works.
Didi
"Daniel" <admin@netcomm.com> schrieb im Newsbeitrag
news:3f8646bf@newsgroups.borland.com...
> 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: <3f8a697a@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-mail
References: <3f4b1312@newsgroups.borland.com> <3f8646bf@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-13 02:09:59 PST
Reply-To: "Palmetzhofer Dietmar" <dietmar.palmetzhofer@boku.ac.at>
From: "Palmetzhofer Dietmar" <dietmar.palmetzhofer@boku.ac.at>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3f4b1312@newsgroups.borland.com> <3f8646bf@newsgroups.borland.com>
Subject: Re: TADOTable->Post
Date: Mon, 13 Oct 2003 11:02:58 +0200
Lines: 36
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.232.72
Message-ID: <3f8a697a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1066035578 62.46.232.72 (13 Oct 2003 01:59:38 -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