Subject | Re: [IBO] 4.3 exception |
---|---|
Author | Jason Wharton |
Post date | 2003-11-22T22:43:07Z |
I've put in a similar fix...
Thanks,
Jason Wharton
Thanks,
Jason Wharton
----- Original Message -----
From: "Ed Dressel" <Dressel@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, November 18, 2003 8:47 AM
Subject: [IBO] 4.3 exception
> I upgraded to 4.3 and now when my app starts I get the following
> exception:
>
> ---------------------------
> Debugger Exception Notification
> ---------------------------
> Project TRAK.exe raised exception class EAssertionFailed with
> message 'IBDatasetFields.InitFields tmpField.FieldName: LastName <>
> tmpCol.BDEFieldName: LASTNAME (C:\ibo\IBODataset.pas, line 2862)'.
> Process stopped. Use Step or Run to continue.
> ---------------------------
> OK Help
> ---------------------------
>
> After looking at it, it seems that the line of code:
>
> if tmpField.FieldName = tmpCol.BDEFieldName then
>
> should be change to
>
> if (AnsiCompareText(tmpField.FieldName, tmpCol.BDEFieldName) =
> 0) then
>
> Can anyone comment on this?
>
> Thanks
> Ed Dressel