Article View: borland.public.cppbuilder.database.ado
Article #3537Question about ADOQuery
From: Jackie
Date: Wed, 31 Jul 2002 00:11
Date: Wed, 31 Jul 2002 00:11
16 lines
1669 bytes
1669 bytes
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:
<3d472b9d$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,99b6fc4567ab9216,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-07-30 17:37:39 PST From: "Jackie" <tkfi@hotmail.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: Question about ADOQuery Date: Wed, 31 Jul 2002 08:11:44 +0800 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 NNTP-Posting-Host: 202.175.76.61 Message-ID: <3d472b9d$1_1@dnews> X-Trace: dnews 1028074397 202.175.76.61 (30 Jul 2002 17:13:17 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews