[fpc-devel] LocateNext

Micha Nelissen micha at neli.hopto.org
Fri Apr 7 21:21:49 CEST 2006

On Fri, 07 Apr 2006 21:16:23 +0200
Joost van der Sluis <joost at cnoc.nl> wrote:

> function Locate(const keyfields: string; const keyvalues: Variant;
>   options: TLocateOptions; LocateNext : boolean ) : boolean; 
> So that it's possible to doe a 'locatenext'
> But I saw that sqlite simply has a 'locatenext' function. But it is also
> possible to add a TLocateOption...
> I'm thinking about implementing this (abstract) at the TDataset level.
> What option should I choose and what do you guys think the idea?

I think .Filter in combination with .FindFirst/Prior/Next/Last is just as
powerful, so a LocateNext should not be needed. Does Locate guarantee
finding the first record that matches ?


More information about the fpc-devel mailing list