R
Roger Henn via OfficeKB.com
I'm trying to use the Restrict method to filter an Items collection based on the NoAging property, but some of the MailItems don't have a NoAging property. I want to get any item with NoAging of False, or without the property at all.
I've tried "Not([NoAging] = True)", but it looks like the missing property always gives a False (or Null) result, even if you precede it with a Not. There doesn't seem to be any way to test for Null in a filter string expression ("IsNull([NoAging])" results in an invalid condition error).
Anyone got any ideas how to??
I've tried "Not([NoAging] = True)", but it looks like the missing property always gives a False (or Null) result, even if you precede it with a Not. There doesn't seem to be any way to test for Null in a filter string expression ("IsNull([NoAging])" results in an invalid condition error).
Anyone got any ideas how to??