<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I've been working on this all day and can't seem to 
figure it out.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm on Mapserver v 4.2 on Windows.&nbsp; Here is 
the Mapfile:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>MAP<BR>&nbsp;NAME "CRA 2000"<BR>&nbsp;STATUS 
ON<BR>&nbsp;SIZE 600 420<BR>&nbsp;IMAGECOLOR 230 230 230<BR>&nbsp;IMAGETYPE 
PNG24<BR>&nbsp;EXTENT 1518976.125000 454307.531250 1565951.625000 
426016.062500<BR></FONT><FONT face=Arial size=2>&nbsp;SHAPEPATH 
"shapefiles/parcels2000"<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;WEB<BR>&nbsp;&nbsp;TEMPLATE 
"printable.html"<BR>&nbsp;&nbsp;IMAGEPATH "tmp/"&nbsp; # full path to image tmp 
dir, so cgi can find it<BR>&nbsp;&nbsp;IMAGEURL "tmp/"&nbsp; # url location of 
image tmp dir, so web browser can find it<BR>&nbsp;END # Web Interface 
Options</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;QUERYMAP<BR>&nbsp;&nbsp;STATUS 
ON<BR>&nbsp;&nbsp;STYLE SELECTED<BR>&nbsp;&nbsp;COLOR 255 255 
0<BR>&nbsp;END<BR>&nbsp; &nbsp;<BR>#############################<BR># Start of 
layer definitions</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;<BR>#----------------------------------------------------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>LAYER # start of the "main" layer object<BR>&nbsp; 
NAME "2000_Bay_County"<BR>&nbsp; DATA parcels2000<BR>&nbsp; STATUS ON<BR>&nbsp; 
TYPE POLYGON</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; TEMPLATE "parcels2000_query.html"<BR>&nbsp; 
HEADER "parcels2000_header.html"<BR>&nbsp; FOOTER 
"parcels2000_footer.html"&nbsp; <BR>&nbsp; <BR>&nbsp; CLASS 
<BR>&nbsp;&nbsp;&nbsp; NAME "Bay County 2000 
Parcels"&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 204 0<BR>&nbsp; 
END<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>END # end of 
layer object</FONT></DIV>
<DIV><FONT face=Arial 
size=2>#----------------------------------------------------------------------<BR>END 
# Map File<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>And here is the form that submits a test 
query:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;form name="test" action="mapserv.exe" 
method="get" target="info"&gt;<BR>&lt;input type="hidden" name="mapext" 
value="shapes"&gt;<BR>&lt;input type="hidden" name="map" 
value="cra2000.map"&gt;<BR>&lt;input type="hidden" name="mode" 
value="itemquery"&gt;<BR>&lt;input type="hidden" name="qlayer" 
value="2000_Bay_County"&gt;<BR>&lt;input type="hidden" name="qitem" 
value="A1RENUM"&gt;<BR>&lt;input type="hidden" name="qstring" 
value="33768-000-000"&gt;<BR>&lt;input type="submit" value="Get Parcel 
Query"&gt;<BR>&lt;/form&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Anytime I submit this, however, I get the following 
message:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>msQueryByAttributes(): Search returned no results. No matching record(s) 
found. </DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've tried multiple variations, such as type in the 
parameters into the URL, eliminating the qitem value and passing qstring as 
('[A1RENUM]'='33768-000-000'), etc.&nbsp;I know that there is a value in the 
parameters table for '33768-000-000', and I've tried other values for it, and 
other fields to try and query against with no succes.&nbsp;&nbsp; If somebody 
knows what I'm doing wrong, I would appreciate being pointed in the right 
direction.&nbsp; Thanks in advance!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Sincerely,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Leo T. Dolan</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;</DIV></FONT></BODY></HTML>