<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,</div>
<div> </div>
<div>why is my Selection not working like before?</div>
<div> </div>
<div>Can't set a Selection by MG API anymore. Is there a change in creating the SELECTION STRING?</div>
<div> </div>
<div>Thanks for helping</div>
<div> </div>
<div>Emma</div>
<div> </div>
<div> </div>
<div>CODE:</div>
<div> </div>
<div>
<div> Dim FeatureResID As New MgResourceIdentifier(layer.FeatureSourceId)<br/>
Dim ID_string As String = "fid= '" + fid + "' "<br/>
<br/>
queryoption.SetFilter(ID_string)<br/>
'_________________________________________________________________<br/>
<br/>
'_________________________________________________________________<br/>
featureReader = featureService.SelectFeatures(FeatureResID, layer.GetFeatureClassName(), queryoption)</div>
<div> <br/>
<br/>
featureReader = layer.SelectFeatures(queryoption)<br/>
selection.AddFeatures(layer, featureReader, 0)</div>
<div> selection.Save(resourceService, mapname)<br/>
featureReader.Close()<br/>
<br/>
PUBLIC_STR = selection.ToXml</div>
</div></div></body></html>