🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #538

TADOQuery & Stopping it

#538
From: Vladimir Stefanovic
Date: Sun, 06 Nov 2005 14:38
27 lines
1623 bytes
Hi,

I want to have a TADOQuery which should be
executed from within TEdit::OnChange(), and
that's OK.

But I also want to somehow stop (abbandon) the
pending query when fast typing on keyboard and use
only the last one.

Can you please suggest me how to accomplish that.

Now, the query which executes approximatly about
0.5 sec still hangs the normal keyboard activity, and
sometimes produces the SQL exception.

I know how to deal with such exeptions, but I'm
currious about breaking the pending query and
accept only the new one.





-- 
Best regards,
Vladimir Stefanovic 
Technical Details
Message-ID: <436e1560@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!news.usenetserver.com!atl-c07.usenetserver.com!news.usenetserver.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,b80e748f94aa0b5,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: TADOQuery & Stopping it
Date: Sun, 6 Nov 2005 15:38:44 +0100
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 82.117.212.65
Message-ID: <436e1560@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1131287904 82.117.212.65 (6 Nov 2005 06:38:24 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c02.usenetserver.com!news.usenetserver.com!atl-c07.usenetserver.com!news.usenetserver.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail