[mapguide-users] Re: Simple search

Jackie Ng jumpinjackie at gmail.com
Sun Dec 19 16:46:34 EST 2010


You say dbf so I assume shape file?

I believe SHP files truncate field names to 8 characters, so you might want
to check that the field name is actually "street_name" and not "street_n" or
something similar.

Secondly what is the filter you are trying to define? Here's some examples:

Equal to user input? 

street_name = '$USER_VARIABLE'

Begins with user input?

street_name LIKE '$USER_VARIABLE%'

Ends with user input?

street_name LIKE '%$USER_VARIABLE'


$USER_VARIABLE is a special token that gets replaced with the actual input
value of the search command when you hit the search button.

- Jackie



-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Simple-search-tp5849425p5850231.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list