<div>Hello guys...</div>
<div>I have a table with a character(11) PK...</div>
<div>When I trie to get the shapes with queryByRect, all results are with shapeindex equal 0 (zero) ...</div>
<div>If I tried that with a table with a integer PK, everthing works perfect..</div>
<div>My code:</div>
<div>
<p>layerObj _layer = mapObj.getLayerByName(__layer);<br>if (_layer.queryByRect(mapObj, _oGeo) == 0)<br>{<br> for (int i = 0; i < _layer.getNumResults(); i++)<br> {<br> resultCacheMemberObj _result = _layer.getResult(i); <br>
//_result.shapeindex == 0 <br> shapeObj _obj = new shapeObj(-1); //dummy<br> _layer.open();<br> _layer.getShape(_obj, -1, _result.shapeindex);<br> }<br>}</p>
<p> </p>
<p>Any solutions?<br></p>
<p>[]īs</p></div>