Icon View Incident Report

Serious Serious
Reported By: Rob Frye
Reported On: 2/14/2005
For: Version 4.17 Build 1
# 1977 Changing the Active Filter or Range When Cached Updates Are Active Causes Error

The current way that filters and ranges work with cached updates seems to have a problem. If a filter is set before a cached update is active and then the filter is changed while the cache is active an error # 10050 Invalid filter handle occurs

 ATable.Filter := '...';
 ATable.Filter := '...';
 (causes the error)

Comments Comments and Workarounds
Filters, ranges, and master-detail linkages are now reset once cached updates are enabled. This means that any new filters, ranges, or master-detail links that are applied will only be applied to the cache's temporary table and will not apply to the source table. Once cached updates are applied or cancelled, they will revert back to their original settings that were present prior to the cached updates being enabled. Also, the Refresh method now clears the cache's temporary table and refreshes it from the source table while keeping cached updates enabled.

Resolution Resolution
Fixed Problem on 2/20/2005 in version 4.18 build 1