Article View: borland.public.cppbuilder.database.dbexpress
Article #70Cursor being dropped
From: Chris Phillips
Date: Mon, 12 Jul 2004 11:58
Date: Mon, 12 Jul 2004 11:58
18 lines
1524 bytes
1524 bytes
Hi, I am using dbExpress componets to access an Interbase database. In my application, I need to allow other things to happen while I am browsing the database, so in my browse loop, I call Application->ProcessMessages() to allow the other stuff to happen, but then something in the database searching fowls up and I get the error message: "EdatabaseError with message 'Cursor Unknown'" It seems to be thrown by unit SQLExpr by the function TCustomSQLDataSet.GetRecord. With the Application->ProcessMessages() line removed, the operation works, but takes too much time for my application. Any ideas?
Technical Details
Message-ID:
<40f27cdd@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: fb4e2,88c19c417f471ef3,start X-Google-Attributes: gidfb4e2,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Chris Phillips" <chris.phillips@corusgroup.com> From: "Chris Phillips" <chris.phillips@corusgroup.com> Newsgroups: borland.public.cppbuilder.database.dbexpress Subject: Cursor being dropped Date: Mon, 12 Jul 2004 12:58:21 +0100 Lines: 20 Organization: Corus X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4922.1500 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4939.300 NNTP-Posting-Host: 145.8.171.20 Message-ID: <40f27cdd@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089633501 145.8.171.20 (12 Jul 2004 04:58:21 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail