Thank you wwp In fact, I'd solved my own problem without knowing it. The AND NOT part of the condition was done by a separate filter handling those cases, that had higher priority. This must solve some problems of this sort, but all. Adrian