Subject Re: [IBO] 4.3 exception
Author Jason Wharton
Sounds like that could be the fix. I have not been able to duplicate that
error.
Will you tell me what the steps are, or send a sample, that duplicates this
problem?

Thanks,
Jason

----- 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