Article View: borland.public.cppbuilder.database.ado
Article #3540Re: Question about ADOQuery
From: Ronald Loonstra
Date: Wed, 31 Jul 2002 03:25
Date: Wed, 31 Jul 2002 03:25
34 lines
2014 bytes
2014 bytes
Set the AutoEdit-property of the TDataSource to false. Maybe this helps. -- HTH Ronald Loonstra CodeFit Applications www.codefit.nl "Jackie" <tkfi@hotmail.com> schreef in bericht news:3d472b9d$1_1@dnews... > Dear All > > let say i have a ADOConnection ADOQuery DataSource DBGrid and some DBEdit , > all are connect to a MS-Access database, every thing is working , but there > has a problem, where the ADOQuery is active, the DBGrid list all record on a > table and the DBEdit display one of the record that i have select , in this > time if i input something on the DBEdit , and move the pointer to the next > record or use mouse click on other record in the DBGrid, the previous record > (that i have input something on) will than be change, if i don't want to > change the record ( but i already input something on the some DBEdit ), i > have to call "ADOQuery->Cancel" to cancel the change before i move the > pointer, how i set the DBEdit can be accessable (can input not read only) > but won't change the record after i move the pointer. > > Please help > Thank a lot > >
Technical Details
Message-ID:
<3d475762$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3d472b9d$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,99b6fc4567ab9216 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-07-30 20:43:51 PST From: "Ronald Loonstra" <r.loonstra@codefit.nl> Newsgroups: borland.public.cppbuilder.database.ado References: <3d472b9d$1_1@dnews> Subject: Re: Question about ADOQuery Date: Wed, 31 Jul 2002 05:25:42 +0200 Lines: 36 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: 217.121.245.5 Message-ID: <3d475762$1_1@dnews> X-Trace: dnews 1028085602 217.121.245.5 (30 Jul 2002 20:20:02 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews