I found that Asi.ComparisonType.In doesn't work.
I was making a call IQA function based on the input criteria. I need to use Asi.ComparisonType.In for one of my filters, the related source code is like the following:
Asi.QueryBuilder.QueryFilterSet queryFilterSet = myQuery1.FilterSets.Add();
Asi.QueryBuilder.QueryFilter queryFilter = queryFilterSet.Filters.Add(qualifiedName, "MemberType");
queryFilter.Comparison = Asi.ComparisonType.In;// Set comparison type here;
queryFilter.Value = "'V','CCM','M'";// Set filter value here;
It is for filtering all members whose MemberType is either 'V' or 'CCM' or 'M', in SQL where clause it should be [MemberType] in ('V', 'CCM', 'M')
But when I print the myQuery1.SqlCommandText(), I saw in where clause it still use [MemberType] = "'V', 'CCM', 'M'", which is same as Asi.ComparisonType.Equal
My version is 15.0.3
Any ideas?
Thanks.
Syntax may be a little wonky
Try the following for the filter value instead, I can't remember offhand if it's using the custom string split code for filter values or not: