Subject | Problem with 4.2Eb |
---|---|
Author | bobzirbel@yahoo.com |
Post date | 2001-08-21T00:30:24Z |
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.
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.