<DIV>Hi! Dear lists,</DIV>
<DIV>&nbsp;</DIV>
<DIV>The maplab i button (query) does not work. According to the previous forum from Jeff Mckenna (see below), I put the template html with path or attribute value in DBF or ttt only in the template seting in mapedit. The return html is same, " the following layers did not return any results:---- plus all name of layer---".</DIV>
<DIV>&nbsp;</DIV>
<DIV>If I want to query dbf information&nbsp;in maplab, how I made the&nbsp; i button work? In other word,&nbsp;how to set template&nbsp;parameter in mapedit?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Some previous forum mentioned the&nbsp;query template does not work in maplab and the only way is to modify query.phtml in GMf_apps. Is it true?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you very much!!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Charlie&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Just a note: you can put the value for TEMPLATE in either the CLASS or <BR>LAYER object. If you only have one class there will be no difference. If <BR>you have more than one class and you want all classes to return results, <BR>put the TEMPLATE value in the LAYER object. If you have more than one <BR>class you will need to put a value for TEMPLATE in each class you want <BR>queried. That way you can prevent certain classes from being queried if <BR>you want.<BR><BR>Jeff McKenna wrote:<BR><BR>&gt;<I> Hi Paul,<BR></I>&gt;<I><BR></I>&gt;<I> Yes it is possible to query the dbf files of shapefiles using MapLab. <BR></I>&gt;<I> Simply add a TEMPLATE in the CLASS object of the layer that you want <BR></I>&gt;<I> to query.&nbsp; MapLab looks for the word "TEMPLATE" in the class object.&nbsp; <BR></I>&gt;<I> The template value can be anything, the file does not exist so just <BR></I>&gt;<I> make up something. e.g.:<BR></I>&gt;<I><BR></I>&gt;<I>&nbsp;&nbsp;
 LAYER<BR></I>&gt;<I>&nbsp;&nbsp;&nbsp;&nbsp; NAME "oceans"<BR></I>&gt;<I>&nbsp;&nbsp;&nbsp;&nbsp; STATUS ON<BR></I>&gt;<I>&nbsp;&nbsp;&nbsp;&nbsp; DATA "ocean75m"<BR></I>&gt;<I>&nbsp;&nbsp;&nbsp;&nbsp; TYPE POLYGON<BR></I>&gt;<I>&nbsp;&nbsp;&nbsp;&nbsp; UNITS METERS<BR></I>&gt;<I>&nbsp;&nbsp;&nbsp;&nbsp; CLASS<BR></I>&gt;<I>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 200<BR></I>&gt;<I>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEMPLATE "ttt"<BR></I>&gt;<I>&nbsp;&nbsp;&nbsp;&nbsp; END<BR></I>&gt;<I>&nbsp;&nbsp; END<BR></I>&gt;<I><BR></I>&gt;<I> obviously "ttt" is not a valid file, but MapLab just looks for the <BR></I>&gt;<I> presence of TEMPLATE in the CLASS object.&nbsp; Hope this helps.<BR></I>&gt;<I><BR></I>&gt;<I> By the way, any further MapLab questions should be sent to the MapLab <BR></I>&gt;<I> user list (<A href="http://lists.dmsolutions.ca/mailman/listinfo/maplab-users">http://lists.dmsolutions.ca/mailman/listinfo/maplab-users</A>) <BR></I>&gt;<I> so that developers and other
 MapLab users can help you.&nbsp; Thanks.<BR></I>&gt;<I><BR></I>&gt;<I><BR></I>&gt;<I> Jeff<BR></I>&gt;<I><BR></I>&gt;<I><BR></I></DIV><p><br><hr size=1>Post your free ad now! <a href="http://ca.personals.yahoo.com/"><b>Yahoo! Canada Personals</b></a><br>