Re: Finding a record in a TADOTable
- From: "D Whaley" <dwhaley@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 24 May 2005 11:49:17 -0500
The seek method uses the index if the table is live.
Otherwise you are actually looking at a snapshot of the data. Therefore you
do not have access to the index directly.
I use locate quite often and seems to work well enough on reasonable size
result sets.
"Edward Diener" <eddielee_no_spam_here@xxxxxxxxxxxxxx> wrote in message
news:42934948$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> I would like to be able to find a record in a TADOTable based on an
> index. The only thing I have found in this regard is the Seek method but
> this appears to require a number of other properties to be set and is
> supposedly supported only with a few RDBMSs. The other possibility is
> the Locate/Lookup set. Is there really no way to use the indices of a
> TADOTable to find a record ? It would seem natural that any table would
> allow one to use an index to quickly find a record in the table, else
> what purpose do indices serve.
.
- Follow-Ups:
- Re: Finding a record in a TADOTable
- From: Edward Diener
- Re: Finding a record in a TADOTable
- References:
- Finding a record in a TADOTable
- From: Edward Diener
- Finding a record in a TADOTable
- Prev by Date: insert datetime field losting time-part
- Next by Date: Re: Finding a record in a TADOTable
- Previous by thread: Finding a record in a TADOTable
- Next by thread: Re: Finding a record in a TADOTable
- Index(es):