<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
You problem sounds very strange.<br>
The FDO SQL variant is picky about string/number conversion, so you
must quote numbers if they are strings, and unquote if not.<br>
Your written example does this correctly.<br>
<br>
It may be a problem with the SHP provider (although I have seen no
other reports on this matter).<br>
<br>
One thing you can try is to go here:<br>
<a class="moz-txt-link-freetext" href="http://localhost/mapguide/mapagent/index.html">http://localhost/mapguide/mapagent/index.html</a><br>
<br>
The click "Feature" (top left), then "SelectFeatures" (botton left).<br>
In the view to the right, you can enter the values as they would be in
your call.<br>
This should enable you to experiment more quickly with variants of your
query.<br>
<br>
If this still holds the same issues, you can try to use Jackie's FDO
Toolbox to convert the data to SDF:<br>
<a class="moz-txt-link-freetext" href="http://code.google.com/p/fdotoolbox/">http://code.google.com/p/fdotoolbox/</a><br>
<br>
After you have converted the data to SDF, try to run the same query on
the SDF data.<br>
If the query goes through, you have found a bug in the SHP provider.<br>
If so, please provide the SHP file as well as the SDF files in a bug
report:<br>
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/">http://trac.osgeo.org/mapguide/</a><br>
(If the data is confidential, submit the ticket without data, or try to
make a confidential version)<br>
<br>
If it still works, can you produce a non-confidential copy of the data
and email it to me directly?<br>
I can try it out on MapGuide 2.0.2 and see if there are any problems.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
EvaD skrev:
<blockquote cite="mid:19778183.post@talk.nabble.com" type="cite">
<pre wrap="">I am currently using MapGuide OS 2.0 with .Net with C#. The source file is
SHP type, and I need to make selection programmatically in response to user
click event on the control. There is only one parameter that is unique
identifier for the parcels, and this is "FeatId". If I try to filter by
"PROPADR" I am getting wrong parcels selected because there is more than one
parcel with the same address.
-Eva
Jackie C. Ng wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
What version of MapGuide?
- Jackie
Eva wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
It is SHP type.
--
View this message in context:
<a class="moz-txt-link-freetext" href="http://www.nabble.com/filter-for-features-tp19761808p19768232.html">http://www.nabble.com/filter-for-features-tp19761808p19768232.html</a>
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap="">--
View this message in context:
<a class="moz-txt-link-freetext" href="http://n2.nabble.com/filter-for-features-tp1131530p1132507.html">http://n2.nabble.com/filter-for-features-tp1131530p1132507.html</a>
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
-----
<a class="moz-txt-link-freetext" href="http://themapguyde.blogspot.com">http://themapguyde.blogspot.com</a>
<a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/jackieng">http://www.linkedin.com/in/jackieng</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>