Subject Re: [IBO] TIBOTable and incremental search
Author Daniel Rail
Your approach is not that bad. Do you have a primary key on the table? If
yes, then why not try something like this:

VarArrayOf([TIB_Query.FieldByName(''PRIMARYKEY_VALUE).AsXXX]), [])

Instead of trying to use bookmarks to position on the record after using
TIB_Query and TIB_IncSearch. I've used this approach before and still
using it when I can't use native IBO components for the interface. I have
to admit it's not as fast as just using TIB_Query and TIB_IncSearch alone,
but you have to remember that you are doing extra steps to achieve your goal.

Daniel Rail
Senior System Engineer
ACCRA Med Software Inc. (

At 09/02/2002 06:41 AM, you wrote:
>I use IBO3/D3/FB.
>An application was ported fron BDE and is using - for now - several
>TIBOTables objects.
>I'd like to perform incremental search on one of those tables.
>I experimented with TIB_ and learnt how to do incremental search using a
>TIB_IncSearc object.
>The problem is: TIB_IncSearch will position a TIB_Query to the right record.
>Instead, I have to position my TIBOTable.
>I tried to read the TIB_Query bookmark and assign it to the TIBOTable, as
> bm:string;
> q:TIB_Query;
> t:TIBOTable;
> // position TIB_Query
> bm:=q.BookMark;
> t.BookMark:=bm; {1}
> ...