[fpc-devel] LocateNext
Michael Van Canneyt
michael at freepascal.org
Mon Apr 10 14:59:21 CEST 2006
On Mon, 10 Apr 2006, Joost van der Sluis wrote:
>>> Not really. Sometimes I use a locate to find a record in a dataset. I
>>> don't want to limit the records in that dataset with a filter.
>>
>> If you don't want to limit, then set .Filtered := false; and use
>> FindFirst etc.
>
> wich won't work with current sqldb, since filtering there simply adds a
> 'where' part to the query.
> An which is much slower then locate and locatenext.
>
> Isn't the mean reason why you and Michael aren't using locate, that
> locatenext is missing?
I definitely use locate.
But if I would need a 'LocateNext' kind of functionality, I would use a
filter.
Michael.
More information about the fpc-devel
mailing list