Article View: borland.public.cppbuilder.database.ado
Article #5191Re: TADOQuery question
From: Alon Novy
Date: Fri, 29 Jun 2001 09:20
Date: Fri, 29 Jun 2001 09:20
34 lines
1967 bytes
1967 bytes
Nigel I don't know if there is a way of "changing" data in a TADOCustomDataSet or descendent without calling Edit() | Insert( ) and Post( ); Perhaps you should use Calculated Values to derive the correct values, and tie the remaining code to the calculated value? Alon "Nigel Jones" <npj@fasl.co.uk> wrote in message news:3b3ae52f$1_1@dnews... > Hi, > > I've got a standard TADOQuery that's selecting from an Oracle database. > What I need to do is, after the selection, go through the selected data and > change some of it - but without setting edit mode and actually updating the > database. > > I guess the AfterOpen event is a good one to use, but trying to change the > values of data without setting Edit mode gives an error. > > Any ideas on how to do this? > > Cheers > > -- > Nigel Jones, FASL > ____________________________________________________________ > "The views of the author may not necessarily reflect those of the company." > > >
Technical Details
Message-ID:
<3b3c45a7_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.flash.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3b3ae52f$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,2dc17399197a8233 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-06-29 03:16:48 PST Reply-To: "Alon Novy" <alon.novy@thinksoftware.com.au> From: "Alon Novy" <alon.novy@thinksoftware.com.au> Newsgroups: borland.public.cppbuilder.database.ado References: <3b3ae52f$1_1@dnews> Subject: Re: TADOQuery question Date: Fri, 29 Jun 2001 19:20:07 +1000 Lines: 36 Organization: Think Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 203.32.175.13 Message-ID: <3b3c45a7_2@dnews> X-Trace: dnews 993805735 203.32.175.13 (29 Jun 2001 02:08:55 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.flash.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews