>I'm pretty sure Rick has the answer. I thought it evaluated the variable in a filter and stored that value somewhere. It never occured to me that it would go back and reevaluate it each time it checks the filter.
So, why would adding a WITH...ENDWITH cause it to function properly? Maybe it caused the filter variable to become in-scope?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.