Subject | Re: [IBO] IB_Query.Locate performed on Server/Buffer |
---|---|
Author | Jason Wharton |
Post date | 2002-12-10T05:39:04Z |
Not really. You will have to get in and modify the sources to allow you to
make use of the SeekKeyForBufferFields I suppose. You might also give a look
to the implementation of the Locate method and see if something else
presents itself. I do have an internal method that allows you to limit its
search through the buffer only.
HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
make use of the SeekKeyForBufferFields I suppose. You might also give a look
to the implementation of the Locate method and see if something else
presents itself. I do have an internal method that allows you to limit its
search through the buffer only.
HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
----- Original Message -----
From: "Martin D. Berezaga" <mdberezaga@...>
To: <IBObjects@yahoogroups.com>
Sent: Sunday, December 08, 2002 4:46 PM
Subject: RE: [IBO] IB_Query.Locate performed on Server/Buffer
>
> > > > > 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.
>
> But these methods are performed at Server and Buffer level.
> I want to do the Locate only at Buffer level.
>
> So, there is no method with this purpose?
>
> Thanks.
>
> ---------------------------
> Martin D. Berezaga
> mdberezaga@...
> ICQ : 18537142
> Porto Alegre - RS - Brasil
> ---------------------------
>