Outlook Items Restrict Method Limitation?

  • Thread starter Thread starter shawn
  • Start date Start date
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
 
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
 
Back
Top