Subject | RE: [IBO] TIBOTable Problem changing IndexName after using SetRange |
---|---|
Author | Jason Wharton |
Post date | 2007-08-26T05:43:44Z |
> I thought it might be helpful to know if this SetRange problem isI have fixed this issue for the next sub-release.
> 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 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