Subject | RE: [IBO] IB_Query.Locate performed on Server/Buffer |
---|---|
Author | Alan McDonald |
Post date | 2002-12-06T08:01:40Z |
heLen,
LookupKeyForBufferFields:
This method is used to locate a record that currently exists in the buffer
or if it would when all of the records for the Dataset were fetched from the
server.
LookupKeyForFields:
This method is used to locate a record that currently exists in the Dataset
or if it would when all of the records for the Dataset were fetched from the
server.
buffer and dataset is the only difference but I do not understand the
possible subtle difference between the actual action under one method as
compared with the other....
Since both results in a fetch when the particular record is not present
client side.
Could you explain?
Alan
LookupKeyForBufferFields:
This method is used to locate a record that currently exists in the buffer
or if it would when all of the records for the Dataset were fetched from the
server.
LookupKeyForFields:
This method is used to locate a record that currently exists in the Dataset
or if it would when all of the records for the Dataset were fetched from the
server.
buffer and dataset is the only difference but I do not understand the
possible subtle difference between the actual action under one method as
compared with the other....
Since both results in a fetch when the particular record is not present
client side.
Could you explain?
Alan
> -----Original Message-----
> From: Helen Borrie [mailto:helebor@...]
> Sent: Friday, 6 December 2002 16:22
> To: IBObjects@yahoogroups.com
> Subject: RE: [IBO] IB_Query.Locate performed on Server/Buffer
>
>
> At 02:47 AM 06-12-02 -0300, you wrote:
>
> > > > 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.
> > > >
> >
> >Looking up the Help, SeekKeyForBufferFields is mentioned on KeyFields
> >description, but it hasn't a description itself.
> >
> >Also, I'm getting an 'Undeclared identifier' compilation error for that
> >method. I'm using IBO 4.2.Hi
>
> Yes, sorry, it's a protected method. Use LookupKeyForBufferFields or
> LookupKeyFields.
>
> cheers,
> 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/
>
>