| ||||||||||||||||
SetCustomFieldCriterion methodSets a custom field criterion for the search. Syntax
ParametersFieldNameSpecifies the name of a Custom Field Definition. OperatorThe comparison operator for the search criterion. For further information, see ERUOperator. Value1The first value for the search criterion. Value2The second value for the search criterion. This parameter is ignored unless Operator is erOperBetween. Return value
RemarksExample:Criteria.SetCustomFieldCriterion("Priority", erOperEqual, "High", "") Note:You may call SetCustomFieldCriteria() only once per custom field. You must call ClearCustomFieldCriteria() to clear previous criteria before setting new criteria for a custom field. Note:Only certain operators are allowed for certain custom fields, as shown in the table below. Also, if the custom field type is plain text, you can specify a boolean expression as the search value, e.g. "NOT(apple or orange)" Field Type Allowed Operator
|
Home |