[mapguide-users] Filter Syntax Question
Chris Claydon
chris.claydon at autodesk.com
Tue Jun 26 15:05:39 EDT 2007
Try using: "LAST" LIKE '$USER_VARIABLE%'
The LIKE comparison seems to be case insensitive, and the % is a
wildcard that means you don't have to type in the whole string to get a
match.
Chris.
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Ben_D
Sent: June 26, 2007 12:31 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Filter Syntax Question
Hi,
I'm setting up a couple of search functions and having trouble with one
of
them... I'm working in MapGuide Studio and using the built in search
function. The search term I am trying to pass is...
"LAST" = (document.write(str.toUpperCase( '$USER_VARIABLE' )))
It validates ok, but doesn't return any results.
The problem is that the "LAST" field is all uppercase, and I want people
to
be to search by lowercase and have MapGuide automatically convert it.
Any help would be appreciated!
Thanks
--
View this message in context:
http://www.nabble.com/Filter-Syntax-Question-tf3984027s16610.html#a11311
195
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