1) var_dump($myresult) is "object(stdClass)(3) { ["shapeindex"]=> int(-2028233538) ["tileindex"]=> int(-1) ["classindex"]=> int(0) }" 2) var_dump($shp) is "False" It displays numresults=1 but it $myresult->shapeindex is negative... What's wrong? Maybe this is not the right way to query Oracle (queryByAttributes) to get data? Thanks in advance, Antonio