Subject | Re: [IBO]Local Filtering |
---|---|
Author | Jason Wharton |
Post date | 2003-05-07T23:14:32Z |
> 1. That OnFilterRecord is only called when Filtered=True.call to set filtered=true. But because it goes there amyway I was getting
> I had some things in OnFilterRecord which where instanciated before my
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.
The reason I didn't do it this way is because I would then have to manage
whether the records have yet been filtered or not. This would add an
additional flag to the record node. I could add this in but it would take
some additional core level stuff so it won't go into IBO until a major
version revision. I will put it in the list of things to consider.
> 2. That a reference is made in the Filtered property help to theOnFilterRecord help which is the only reference for local filtering. Also
the OnFilterRecord help has a typo - it refers to 'RefreshFilter' rather
than 'RefreshFilterRows'.
I've noted this.
Thanks,
Jason Wharton
CPS - Computer Programming Solutions
Mesa Arizona
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --