Subject Re: [IBO] TIBOTable Problem changing IndexName after using SetRange
Author cdevlpr
Hi Jason,
We have made the change you specified below and it has resolved our
issue. Thanks so much for your help getting this fixed ! -- Jeff
Gaiche


--- In IBObjects@yahoogroups.com, "Jason Wharton" <supportlist@...>
wrote:
>
> > I thought it might be helpful to know if this SetRange problem is
> > still in place in the current release. I downloaded the eval kit
for
> > version 4.8.6 and it does exhibit the same problem as our older
> > version.
> >
> > Hope this information is useful -- Jeff Gaiche
>
> I have fixed this issue for the next sub-release.
>
> I failed to internally (efficiently) cancel the range when the
IndexName or
> IndexFieldNames properties were changed.
>
> The fix was hard to find but boiled down to two easy lines of code
to add.
> If you want to test it and you have the full source please make the
> following change to your code in IBODataset.pas unit:
>
> Line 2265:
>
> if not ResetCursorRange then // Add this line
> InternalRefresh; // Indent this line
>
> Line 2299:
>
> if not ResetCursorRange then // Add this line
> InternalRefresh; // Indent this line
>
> Please let me know if this takes care of your issue to your
satisfaction.
>
> Kind regards,
> Jason L Wharton
> www.ibobjects.com
>