Subject Re: [IBO] IBOquery findkey
Author Jason Wharton
Just use Locate() instead of FindKey.

FindKey works based on what columns are in your Order By clause. Perhaps you
have none?

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Daniel Bertin" <daniel@...>
To: <IBObjects@yahoogroups.com>
Sent: Friday, November 16, 2001 4:03 PM
Subject: [IBO] IBOquery findkey


>
> Hi all
> I'm having the same problem as this from the FAQ;
>
> How can I do a FindKey with IBOQuery? It is telling me every time that no
> index is active...
> You need to assign a value to the IndexFieldNames property. This must be
> the same column or columns that you are searching on.
>
> And when I do like this ??
>
> datamodule1.IBOLastQuery.IndexFieldNames('dispno'); I get
> "undeclared identifier: IndexFieldNames"
>
> Can someone shed some light on this please
> Thanks
> Daniel
>
>
>
> Daniel Bertin
> New Generation Software