Subject RE: [IBO] IB_Query.Locate performed on Server/Buffer
Author Alan McDonald
HeLen,
I use LookUpKeyforFields...
what's the difference?
Alan

> -----Original Message-----
> From: Helen Borrie [mailto:helebor@...]
> Sent: Friday, 6 December 2002 14:44
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] IB_Query.Locate performed on Server/Buffer
>
>
> At 12:58 AM 06-12-02 -0300, you wrote:
> >I've noted that IB_Query.Locate is performed in a such way that, if the
> >desired record doesn't current exists in Buffer, a SELECT statement is
> >putted on the server for that record.
> >Is that right?
> >
> >If so, how can I do a Locate only at Buffer level?
>
> Don't use Locate, assign the bookmark (the KeyLinks column values) of the
> row you want to find to Keyfields and then call
> SeekKeyForBufferFields. It
> will return True if it finds that row.
>
> Helen
>
>
>
> __________________________________________________________________
> _________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
> __________________________________________________________________
> _________
> http://www.ibobjects.com - your IBO community resource for Tech
> Info papers,
> keyword-searchable FAQ, community code contributions and more !
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>