🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TADOQuery & Stopping it

#541
From: poojo hackma
Date: Thu, 10 Nov 2005 16:24
18 lines
1618 bytes
A couple of ideas:

1. You could have your 0.5 sec query function return when no results are 
found (I'm not sure where your exception is being thrown);

or if that doesn't work for you...

2. You could add a TTimer that starts anytime a key is pressed in your TEdit 
box and stops when the Query begins.

I'm sure there are other solutions, but these two ideas quickly come to 
mind.

HTH

> Now, the query which executes approximatly about
> 0.5 sec still hangs the normal keyboard activity, and
> sometimes produces the SQL exception.
Technical Details
Message-ID: <437373f0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <436e1560@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,b80e748f94aa0b5
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "poojo hackma" <poojo.com/mail>
Newsgroups: borland.public.cppbuilder.database.ado
References: <436e1560@newsgroups.borland.com>
Subject: Re: TADOQuery & Stopping it
Date: Thu, 10 Nov 2005 10:24:29 -0600
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Response
X-Antivirus: avast! (VPS 0545-1, 11/09/2005), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 12.45.133.147
Message-ID: <437373f0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1131639792 12.45.133.147 (10 Nov 2005 08:23:12 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail