Thank you, but it didn't solved the problem. I have created in the SQL Server a column called FID. With this column and removing the &lt;FID&gt;...&lt;/FID&gt; line from the ovf file I can make query, but when I click on different point I get the same result: the first tupple from Sql Server table. For each point I query I get only the records for the first point.<br><br>Any ideas? or whe I can setup &lt;FID&gt;mycolumnid&lt;/FID&gt;?<br><br>William<br><br><b><i>"Pagurek,Debbie [NCR]" &lt;Debbie.Pagurek@EC.GC.CA&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">   <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> <meta content="MSHTML 6.00.2900.2912" name="GENERATOR"> <div dir="ltr" align="left"><span class="725440822-07112006"><font color="#0000ff" face="Arial" size="2">in your mapfile, make sure you have DUMP TRUE (you can put  this somewhere in your
 layer)</font></span></div> <div dir="ltr" align="left"><span class="725440822-07112006"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div> <div dir="ltr" align="left"><span class="725440822-07112006"><font color="#0000ff" face="Arial" size="2">Hope that works,</font></span></div> <div dir="ltr" align="left"><span class="725440822-07112006"><font color="#0000ff" face="Arial" size="2">D. Pagurek</font></span></div><br> <div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us"> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b> UMN MapServer Users List  [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <b>On Behalf Of </b>william  paul<br><b>Sent:</b> Tuesday, November 07, 2006 2:34 PM<br><b>To:</b>  MAPSERVER-USERS@LISTS.UMN.EDU<br><b>Subject:</b> [UMN_MAPSERVER-USERS] ovf query  error<br></font><br></div> <div></div>Hi:<br><br>I have created a OVF file to generate point files from MS  SqlServer and it's working OK. I can see the point but When
 I try to query I  get: msQueryByPoint() Search returned no results. No matching record(s)  found<br><br>In the ovf file I  have:<br>....<br>&lt;FID&gt;UID&lt;/FID&gt;<br>....<br>In Map  file:<br>class<br>&nbsp;&nbsp;&nbsp; template.html<br>end<br>header  header_template.html<br>footer footer_template.html<br><br>in template I  have:<br><br>&lt;tr&gt;.....&lt;td&gt;[UID]&lt;/td&gt;<br><br>The table in the  SQL Server I have 3 columns:<br><br>UID type uniqueidentifier<br>x_coord type  float<br>y_coord type float<br><br>I don't see where I do wrong<br><br>Thank you  in advance<br><br>William<br> <div> </div><hr size="1"> Sponsored Link <br><br>Talk more and pay less. Vonage can save you up to $300 a  year on your phone bill. <a href="http://clk.atdmt.com/VON/go/yhxxxvon1080000017von/direct/01/">Sign up  now.</a></blockquote><br><p>&#32;


<hr size=1>Sponsored Link<br><br>
<a href="http://www.getpacket8.net/yahoo2">Free Uniden 5.8GHz Phone System with Packet8 Internet Phone Service</a>