Hi Stephan, With OpenLayers.Filter.Comparison.BETWEEN operator , if you know the min(rnummer) and max(rnummer) I think you can use it instead of EQUAL_TO.
regards, - Vivek M. Chaure M.Tech.(CS), IIT Kharagpur. * * On Mon, May 13, 2013 at 3:23 PM, Stephan Deckers <stephandeck...@hotmail.com > wrote: > Hi, > > Consider the following filter : > > var f1 = new OpenLayers.Filter.Logical({ > type: OpenLayers.Filter.Logical.AND, > filters: [ > new OpenLayers.Filter.Comparison({ > type: OpenLayers.Filter.Comparison.EQUAL_TO, > property: "rnummer ", > value: "1000578" > }), > new OpenLayers.Filter.Comparison({ > type: OpenLayers.Filter.Comparison.EQUAL_TO, > property: "rnummer ", > value: "100546" > })] > }); > > This will return all rows where the property 'rnummer' equals '1000578' > or '100546'. I don't know in advance how many rnummers I have, so I am > looking for a way to get openLayers to invoke a SQL-'IN' statement Can > I do this or are there better ways to achieve what I want ? > > thanks, Stephan > > _______________________________________________ > Users mailing list > us...@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/openlayers-users > >
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users