Re: Locate Speed in ADO
- From: "Kevin Frevert" <kevin@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 25 Jan 2006 15:38:07 -0600
Fatih,
Try wrapping .DisableControls/.EnableControls around the .Locate.
ADO Speed Techniques with Delphi - Part I
http://bdn.borland.com/article/0,1410,27790,00.html
Good luck,
krf
"Fatih Tolga Ata" <fatih@xxxxxxxxxxx> wrote in message
news:43d7d50a$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I have a database that has about 150000 records. I must locate immediately
> a row on a string field. Befere using ado, I used BDE. And I can locate
> and filter about 50-100 ms. But now, I am using ado, locating and
> filtering takes about 1500-4000 ms. I created index in mdb. The table has
> 2 field. One of them is ID(Primary, Integer), and other is a string field
> that I try to search. I tried ADOTable and ADOQuery. However,
> CursorLocation is clServer, TableDirect is True, IndexName is the string
> field's index name. I created index in ms access. What can I do?
>
> Regards,
.
- References:
- Locate Speed in ADO
- From: Fatih Tolga Ata
- Locate Speed in ADO
- Prev by Date: Re: ADO patch for D5? EOF BOF error.
- Next by Date: Re: ADO patch for D5? EOF BOF error.
- Previous by thread: Locate Speed in ADO
- Next by thread: Re: Locate Speed in ADO
- Index(es):
Relevant Pages
|