Hi, All<br><br>I'm Donny Wicaksono from Indonesia. i'm developing a web-gis. I use ka-map and postgis as database.<br><br>I have difficulties, i really hope anyone can help me.. :)<br><br>I'm developing accident occurrences in a certain location, for example in one district. They are displayed as points in ka-map. The occurrences are yearly, in 2004, 2005, and 2006. The map and the points have already successfully displayed. The identify function per point is working and also is the search function.<br><br>But this is the problem i'm facing:<br><br>I need to make the 'search function' that can get data by inserting word query from two or more fields in my database. For example, i can search by "Car Type" which comes from one field from my database, and i can also search by "Accident Type" which comes from another field. So i can get search results if i use either car name or accident type.<br>But from what i have learned in ka-map wiki, it seems that&nbsp; the 'search
 function'&nbsp; can only be applied for one field. So, i have to choose between by "Car Type" or by "Accident Type" in my map file configuration in 'searchfield' part.<br><br>This is my map file in Layer part:<br>.................................<br>LAYER<br>&nbsp;&nbsp;&nbsp; NAME 'accident 2006'<br>&nbsp;&nbsp;&nbsp; GROUP 'Accident 2006'<br>&nbsp;&nbsp;&nbsp; TYPE POINT<br>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE postgis<br>&nbsp;&nbsp;&nbsp; CONNECTION "host=localhost user='postgis' password=password dbname='car_accidents'"<br>&nbsp;&nbsp;&nbsp; DATA 'coordinates FROM cases' <br>&nbsp;&nbsp;&nbsp; FILTER "extract(year from date)='2006'"<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'wms_title' 'cases'<br>&nbsp; &nbsp; &nbsp; 'queryable'&nbsp;&nbsp;&nbsp; 'true'<br>&nbsp; &nbsp; &nbsp; 'searchfield'&nbsp;&nbsp;&nbsp; 'car_type'<br>&nbsp;&nbsp; &nbsp;&nbsp; 'fields'&nbsp;&nbsp;&nbsp; 'car_type:Car Type,accident_type:Accident
 Type,description:Description,date:Date,time:Time,time_zone:Time Zone'<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; STATUS on<br>&nbsp;&nbsp;&nbsp; TRANSPARENCY 100<br>&nbsp;&nbsp;&nbsp; PROJECTION<br>&nbsp;&nbsp;&nbsp; 'proj=longlat'<br>&nbsp;&nbsp;&nbsp; 'ellps=WGS84'<br>&nbsp;&nbsp;&nbsp; 'datum=WGS84'<br>&nbsp;&nbsp;&nbsp; 'no_defs'<br>&nbsp;&nbsp;&nbsp; ''<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; LABELITEM 'car_type'<br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp; TEMPLATE "kueri.html"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME 'Year 2006' <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL 'CIRCLE' <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 7 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 0 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; &nbsp; LABEL
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE small<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANGLE 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BUFFER 2<br>&nbsp;&nbsp;&nbsp;&nbsp; END <br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; PROCESSING "close_connection=DEFER"<br>&nbsp; END<br>&nbsp;&nbsp;&nbsp; #Circle symbol<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME 'CIRCLE'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE ellipse<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FILLED true<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POINTS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END <br>&nbsp; ...........................<br><br>I have tried to make it<br>'searchfield' 'car_type', 'accident_type' <br>or<br>'searchfield' 'car_type'<br>'searchfield' 'accident_type'<br><br>But none of them works.
 <br><br>How should i configure my map file in order to have search function works by using data from more than one field? Is it possible to do? Or do I have to configure another files? If so, which files, and how should i do that?<br><br><br>i will appreciate any helps....<br><br>thank you<br><br>-don-<br><br><p>&#32;