Question : How to use viewctl.restriction to search through items' text body

Is it possible to use outlook view control's restriction object to restrict what items to display in control by the items' text body, which mean that can I perform a text body search using the Restriction object?

Answer : How to use viewctl.restriction to search through items' text body

You can use the restriction property on any field.  

I used this syntax for my restriction and it found all messages with the word "testing" in the body field.

RestrictString = "[Message] = ""TESTING"""


--PatriciaC
Random Solutions  
 
programming4us programming4us