Subject | Re: [IBO] Problem with 4.2Eb |
---|---|
Author | hans@hoogstraat.ca |
Post date | 2001-08-21T03:51:30Z |
bobzirbel@... wrote:
In my convertion exercise I successfully use many .FindKey(Key) on my
TIBOQueries. IB4 4.2EB. I had to make sure the Key is setup in the
Keylink properties. Maybe TIBOTable is slightly different. I choose
TIBOQuery, since it converts just as easy from TTable or alike, but
it gives me right away many enhanced features and s shoehorn into TIB_
native if I plan a next level conversion.
Best Regards
Hans
==================================================================
>Hello Rob,
> 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.
In my convertion exercise I successfully use many .FindKey(Key) on my
TIBOQueries. IB4 4.2EB. I had to make sure the Key is setup in the
Keylink properties. Maybe TIBOTable is slightly different. I choose
TIBOQuery, since it converts just as easy from TTable or alike, but
it gives me right away many enhanced features and s shoehorn into TIB_
native if I plan a next level conversion.
Best Regards
Hans
==================================================================
>
> 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/