views:

102

answers:

1

I have added user property in a mail folder, let's call it UserProperty01. Some of the folder items have this property, some don't. I need to show in the folder's view if that property is set or not, so I added another property called UserProperty01Present, and I set it to true when I set the original property and false when I deleted it; then I added it to the folder's view.

The problem is that the little checkbox appears checked in those mails where the property is set, blank in those where the property was deleted... and nowhere at all in those where the property was never set in the first place.

My question is, is there any way to show the blank checkbox when the property is not set? The only alternative I found so far is looking in every mail item and setting it to false when it's not set every time the folder is opened; needless to say, I'm not very happy with this solution (there may be more than 800 mails in there). Is there any other way?

Thank you for your time.

+2  A: 

Hi Yandros

EDIT There is no way to do it via the OOM.

I think a way to do it would be to add a foumula colunm, and in the formula do a

IIf([UserProperty01],"YES","NO")

Marcus

76mel
This would return the correct value, yes, but unfortunately I couldn't find any way to set a Formula column to show an icon, even if it's an obvious boolean value like "IIf([UserProperty01],YES,NO)". Any ideas?
Yandros
the foumla gets you round your 2 property problem, but there is no way via the oom to do add an icon though you could add a "font based" tick and x i guess. Other wise i think winapi woudl be the way to go.
76mel
Well, no one can say I didn't try. Thanks, anyway.
Yandros