<div dir="ltr">I have an attribute type of "QDate" and I wish to filter out features that are older than a given date.  However I cannot seem to come up with the right magical incantation in the qgis filter to do so.<div>
<br></div><div>I do the following:</div><div><br></div><div>1. right-click on the vector layer and select "Filter ..."; the Query Builder dialog appears</div><div>2. In the expression field I write:</div><div><br>
</div><div>"SampleTime" <= "2011/07/01"</div><div><br></div><div>For which I get the following error:</div><div><br></div><div>
<p style="margin:0px">An error occurred when executing the query.</p>
<p style="margin:0px">The data provider said:</p>
<p style="margin:0px">OGR[3] error 1: Type mismatch or improper type of arguments to <= operator.</p><div><br></div><div>So how do I get this to work?</div><div><br></div><div>Thanks!</div><div><br></div><div>Mark</div>
-- <br><a href="mailto:mcoletti@gmail.com" target="_blank">mcoletti@gmail.com</a><br><div><br></div>
</div></div>