How to use Restrict or Find with second-level properties 
Author Message
 How to use Restrict or Find with second-level properties

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



Mon, 19 May 2003 03:00:00 GMT  
 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



Mon, 19 May 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Translated Properties - Find, Restrict, and Sort

2. Creating Items collection using Find method instead of Restrict

3. Partial Matches using Restrict or Find

4. Find and Restrict using dates

5. Creating Items collection using Find method instead of Restrict

6. Find / Restrict using date and time

7. Using Find & Restrict on Folder Items

8. Finding recording level using MCI commands

9. Moving Node UP - works at first level, not second

10. Nested usercontrol events not firing in second level of nesting

11. Change a second level menu?

12. how to set recordset clone to second child level recordset in shape command

 

 
Powered by phpBB® Forum Software