Re: OnFilterRecord




"Rob Kennedy" <me3@xxxxxxxxxxx> wrote in message news:3ddvmoF6p7v3qU1@xxxxxxxxxxxxxxxxx


It strikes me that you don't really *need* to know which filter method was assigned. You only need to be able to restore whatever method was there originally, regardless of whic specific method it was. That's much easier, and the code looks nicer, too.

Yes, the code is really more compact now and works well, thanks a lot Rob!

There must be an awful lot of side effects in that code, because on the face of it, it doesn't look like it does anything at all.

Well, the real code is not exactly like this. And with the value of the boolean variable 'ok' a flag is shown or not. And it was not question of names and addresses, but something else. But the main thing was that during maintaining a certain filter another filter was used and after that the original filter was restored.


.



Relevant Pages

  • Re: implicit declaration of function???
    ... I'd removed the "killfile on" filter so that I could analyse a ... thread elseUsenet, and forgot to restore it. ...
    (comp.lang.c)
  • Show Outline Level - state descriptor available?
    ... Would like to check the task outline level being displayed, and restore it ... after setting a filter and doing some task manipulations in VBA. ...
    (microsoft.public.project)
  • Re: restoration tips
    ... I just went thru a restore of a 81 Honda a few months ago. ... Be sure to add an inline fuel filter. ... It would be like dropping a 1 inch diameter rock ...
    (rec.motorcycles.tech)
  • Re: Excel. How to query for certain stats
    ... repeat Data> Filter> Autofilter to restore your database to it's original ... > in excel n i wanna search for certain name Eg. Education. ...
    (microsoft.public.excel)
  • Re: OT: conversations about life
    ... Regardless of whether any evidence was ... Then there is the final filter of challenges by the defence ... prosecution may be trial by a jury ...
    (alt.support.diabetes)