Subject TDataSet as parameter get wrong by IBO 4.2Ib
Author Roberto Loi
Hallo,

I have a function which checks, with two nested loops, each record of a TDataSet against all the other by using GetBookMark/GotoBookMark/FreeBookMark.

Before moving from IBO3.6Dg to IBO 4.2Ib everything was OK (Delphi 5 Enterprise), after the migration I had a lot of different exceptions and errors like, sometimes the value of DataSet.RecordCount is wrong, the command DataSet.Next don't set correctly DataSet.EOF, sometimes a record seems to get doubled in the dataset, anyway a lot of strange not usual behaviors.

After several tests and changes, the only way I found to get it stable, was to change the passed parameter from TDataSet to an open array, which must be loaded each time I call the function.


After all the trouble I am not sure if it is reasonable to migrate to IBO 4.3.



Thank you for your help

Roberto