using Find Method for Exact match 
Author Message
 using Find Method for Exact match

I am trying to use the Find method to retreive all items in a folder
that have a specific subject (see below).

mymessages.Find("[Subject] = 'USA'")

My problem is that the Find method finds all items where the subject is
LIKE 'USA' rather than all items where the subject is EQUAL to 'USA'.

For example, it returns both these subjects.


What is the best way to Find only the items that are exactly equal to

Wed, 17 Jul 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Using FIND method to get Exact match

2. Seek Nearest Match if exact match not found ?

3. Seek Nearest Match if exact match not found ?

4. Has the find method a partial match operator?

5. non-exact matches

6. exact matches in an array

7. Exact match in array?

8. Partial Matches using Restrict or Find

9. Finding exact directory

10. Finding the exact screen position of a UserControl?

11. Creating Items collection using Find method instead of Restrict

12. CDO Problem using the GetMessage method to find a message in a Public Folder


Powered by phpBB® Forum Software