Subject Re: [IBO] Problem with 4.2Eb
Author Jason Wharton
Please check the IndexFields or the IndexName property of your dataset.
Also, what are you ordering it by.

A demo app showing me this problem would help alot too.

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


----- Original Message -----
From: <bobzirbel@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, August 20, 2001 5:30 PM
Subject: [IBO] Problem with 4.2Eb


> I have just upgraded IBO to V4.2Eb on D5 with IB6.
>
> When I compiled and ran an existing app I found that the FindKey
> function no longer finds a key! It worked fine on IBO3.6.
>
> Example: Table REPORT with IBOTable tbReport. Report has a single
> field primary key.
>
> if tbReport.FindKey(['TESTKEY']) then
> tbReport.Edit
> else
> tbReport.Append;
> ...
> tbReport.Post;
>
> This fails to find 'TESTKEY' even though it exists and can be found
> using an SQL 'where' clause, and of course the Post fails.
>
> I know IBOTable isn't the best solution but I am stuck with it at the
> moment.
>
> Any help would be appreciated.
>
> Regards
> Bob.
>
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>