[mapguide-users] SetFilter IN

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Mon Apr 27 04:27:48 EDT 2009


I have used the "IN" operator like you show, and it works for me, 
although not with the SDF provider.

Regards, Kenneth Skovhede, GEOGRAF A/S



Jackie Ng skrev:
> What if you single-quoted the values in the IN filter list?
>
> - Jackie
>
>
> KOBAH wrote:
>   
>> Hello,
>> I hope users might have undergone this basic query filter in past.
>>                districtQuery.SetFilter("Autogenerated_SDF_ID = " +
>> district);
>>
>> I just want to alter this filter to include multiple option by using IN
>> query filter.
>>            districtQuery.SetFilter("Autogenerated_SDF_ID IN (district1,
>> district2, district2) ");
>>
>> I am getting result for the first variable only not the others. Is my
>> syntax right?
>> Regards,
>> KOBAH
>>
>>     
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090427/fa7764ee/attachment.html


More information about the mapguide-users mailing list