Outlook Items Restrict Method Limitation?

S

shawn

All,

Does anyone know what the limit is for the filter string for the Restrict
Method on Outlook 2003 Items collection object? It appears that it possibly
could be 1K...has anybody confirmed this or know any different?

Thanks in advance.

Shawn
 
S

shawn

All,

After doing some more testing, it appears that the restrict method has a
limitation of 21 fields that can be included in filter string (i.e.
[CustomerID] = '1234' OR [CustomerID] = '5678' OR...) After you add the
22nd, it does not apply the filter to the collection. Has anyone else
seen/confirmed this limitation? Instead of using this restrict method, we
will turn to array to hold the filter tags for the user's selected
items....and continue our application development.

Shawn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top