I am learning how to use mapserver and I am fighting with a problem. I managed to built a simple map application and I started to work with queries. Everything was fine with all polygons layers I tried. However when I started to use point layer (some soil sampling sites) the things went wrong. I select the sites layer (see below) and query or nquery mode. Then I click on the map and nothing happened, as if mapserver was not recognising the query keywords I introduced in the mapfile. 
<br>Below there is the code I am using for this layer. If someone knows what I can do, I will be extremely happy as this kind of layers is the most important for my application!<br>Thanks in advance<br><br>Laura<br>=======================================================
<br>&nbsp;&nbsp;&nbsp; LAYER &nbsp;&nbsp;&nbsp; # point layer with sampled site starts here, query <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME &quot;q_sites&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DATA &quot;D:/ALRPC/Gis/Data/Grugliasco/Soil_Data/Layers/gru_sites_gb&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRANSPARENCY 100<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE point<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STATUS On<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HEADER &#39;c:/ms4w/tmp/mapfile/q_templates/prova_sites_header.html&#39;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; FOOTER &#39;c:/ms4w/tmp/mapfile/q_templates/prova_sites_footer.html&#39;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TOLERANCE 10
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TOLERANCEUNITS pixels<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TEMPLATE &#39;c:/ms4w/tmp/mapfile/q_templates/prova_sites_class_query.html&#39;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SYMBOL &#39;circle&#39;
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 255 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SIZE 2<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END # end style<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END # end class<br>&nbsp;&nbsp;&nbsp; END &nbsp;&nbsp;&nbsp; # sites layer ends here<br>=====================================================================
<br>