
How to use Restrict or Find with second-level properties
Correct. You can only use Restrict and Find with properties, not
collections. One workaround is to loop through all the items in the folder.
It will probably be faster with CDO.
--
Sue Mosher
Author of
"Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours"
"Microsoft Outlook 2000 E-mail and Fax Guide"
Outlook and Exchange solutions at http://www.slipstick.com
Quote:
> If I use Restrict for example in this way
> Object.Restrict([Subject]="Some subject") - it's ok
> But waht if I want to search on subcollection properties, like this:
> work
> What can I do?
> Thank all before,
> Sedelnikov Andrei