Subject Re: [IBO] Problem with 4.2Eb
Author bobzirbel@yahoo.com
Jason

I'm still having problems with TIBOTable.FindKey.

After the upgrade to 4.2Eb I am now getting an AV when executing
FindKey on a number of tables. It crashes in BinaryToHexText because
RecInfo.RecRowNode.KeyData is nil. The problem is that it only
crashes after a number of lookups on the same table, but it is
reproduceable and happens in a number of units.

The last part of the call stack is as follows:
BinaryToHexText
TIBODataset.GetBookMarkData
TIBODataset.InternalSetToRecord
TIB_BDataset.LookupKeyForFields
GetFinalResults

Any ideas? I am getting desperate!

Thanks & regards

Bob


--- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
> > Thanks for your reply Jason.
> >
> > I found the problem. Sorry to doubt your new release. For some
> > reason the IndexFieldName on a few tables disappeared during the
> > compile and this caused the lookup failure.
> >
> > I am so used to using Queries now that I forgot about the
> > IndexFieldName on TIBOTables when I was trying to find the reason.
>
> Thanks for letting me know.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com