Subject [IBO]Local Filtering
Author Paul Hope
Hi

Having just impletemented some local filtering on TIB_Query and it works very nicely, however I would like to make the following suggestions

1. That OnFilterRecord is only called when Filtered=True.
I had some things in OnFilterRecord which where instanciated before my call to set filtered=true. But because it goes there amyway I was getting an access violation when the query was opened. I tried 'if query.filtered then ...' but strangely a read of the filtered property destroys the filtering. So I had to use my own flag. It would be much tidier if OnFilterRecord was only called when Assigned and Filtered.

2. That a reference is made in the Filtered property help to the OnFilterRecord help which is the only reference for local filtering. Also the OnFilterRecord help has a typo - it refers to 'RefreshFilter' rather than 'RefreshFilterRows'.

Regards
Paul


[Non-text portions of this message have been removed]