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
> 

-- 
View this message in context: 
http://n2.nabble.com/SetFilter-IN-tp2718929p2722930.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to