[fpc-devel] LocateNext

Joost van der Sluis joost at cnoc.nl
Fri Apr 7 21:16:23 CEST 2006


Hi all,

I'm busy implementing TBufDataset.Locate and friends. I had the idea to
overload Locate like this:

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?

-- 
Met vriendelijke groeten,

  Joost van der Sluis
  CNOC Informatiesystemen en Netwerken
  http://www.cnoc.nl




More information about the fpc-devel mailing list