Article View: borland.public.cppbuilder.database.ado
Article #4624Re: MDAC2.6 crashing with ADOUpdate 1 applied
From: Rick Golden
Date: Thu, 08 Nov 2001 21:19
Date: Thu, 08 Nov 2001 21:19
39 lines
2125 bytes
2125 bytes
Always be sure to close the recordset before..... and you'll remove most of the errors..... maybe the error mentionned by Steve will still be there (haven't tried it) db->ADOQuery1->Close(); db->ADOQuery1->SQL->Add( "DELETE FROM TABLE1" ); db->ADOQuery1->ExecSQL(); Arnie Mauer <amauer@vrms.com> wrote in message news:3beac47b_2@dnews... > I've had the problem too. It seems reusing TADOQuery objects and mixing > Open() with ExecSQL will cause problems. We usually get an "Object was > open" error. > > We've been going through the code and creating and deleting the queries > where we need them. > > - Arnie > > "Steve Love" <steve.love2@virgin.net> wrote in message > news:20011107.11520368@sl.engineering... > Hi all, > I recently applied the ADOExpress patch to get around the Bof/Eof problem > in MDAC 2.6. I'm now experiencing a EAccessViolation for a > TADOQuery->ExecSQL(). > > I'm assuming it's MDAC - I'm using Win2k/Office2k, and this problem is > not reproducable on other machines of similar config, running earlier > MDAC versions (2.1 or 2.5 being popular). > > Anybody come across this one? > > Cheers > Steve > >
Technical Details
Message-ID:
<3beaf69c_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<20011107.11520368@sl.engineering> <3beac47b_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,869d1b579a11479d X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-11-08 13:30:58 PST Reply-To: "Rick Golden" <GoldenRick@hotmail.com> From: "Rick Golden" <GoldenRick@hotmail.com> Newsgroups: borland.public.cppbuilder.database.ado References: <20011107.11520368@sl.engineering> <3beac47b_2@dnews> Subject: Re: MDAC2.6 crashing with ADOUpdate 1 applied Date: Thu, 8 Nov 2001 16:19:53 -0500 Lines: 41 Organization: Gold X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 198.168.250.105 Message-ID: <3beaf69c_2@dnews> X-Trace: dnews 1005254300 198.168.250.105 (8 Nov 2001 13:18:20 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews