[mapguide-users] Search tool: No matches

Warren Medernach warren.medernach at imaginit.ca
Sun Apr 1 11:40:52 EDT 2007


Hello,

Try adding the '%' wildcard character to the end of the USER_VARIABLE.

"username" like 'USER_VARIABLE%'

Hope this helps

   Warren Medernach

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Krunoslav
Sent: Sunday, April 01, 2007 3:40 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Search tool: No matches


Hi all.

I'm trying to set up search tool in Studio. So I add search tool, in
layer to search I choose layer which has some objects on the map. This
is layer which is fetched from mysql database, and it draws some points
on the map, together with their properties, and one of them is their
"username", which is also point label. 

And now, for example, one of label is "John Doe". This is field
"username"
in mysql database.

My Search tool looks like this: 
Search property: username
Additional parameters: "username" like '$USER_VARIABLE'

But, whatever I enter into search field, search alway returns "No
matches", even when I type in search field exact username. So, what am I
doing wrong here?
--
View this message in context:
http://www.nabble.com/Search-tool%3A-No-matches-tf3500513s16610.html#a97
76107
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list