OrSearchCriterion Method (Utility Control)
   Windows - Visual C++
   Description
   The OrSearchCriterion method 
   creates a search string in which two search criterion have been 
   "ORed" together.
   Syntax
   long result = OrSearchCriterion(LPCTSTR inputString1, LPCTSTR inputString2);
The OrSearchCriterion syntax has these parts:
| Part | Description | 
| inputString1 | A String containing the text for one of the search criterion, as described in Remarks. | 
| inputString2 | A String containing the text for the other search criterion, as described in Remarks. | 
| result | Return value. A long integer containing 0 if successful and 1 if not. | 
   Remarks
   The search criterion for the 
   inputString1 and inputString2 parameters are created using the CreateSearchCriterion method.
After OrSearchCriterion is called, the resulting search string is stored in the SearchString property. The SearchString property is used to set the Headline control's SearchCriteria property.
See Also: CreateSearchCriterion SearchString SearchCriteria
Back to: Utility Methods