Dear list,<div><br></div><div>I intend to do the following:<br><div><br></div><div>first.select(first.attributeIndexes())</div><div>while first.nextFeature(ft1):</div></div><div>  sVal = str(ft1.attributeMap()[someIndex].toPyObject())</div>
<div>  second.setSubsetString("mycol = " + sVal)</div><div>  second.select(second.attributeIndexes())</div><div>  while second.nextFeature(ft2):</div><div>    self.doSomething(ft2)</div><div><br></div><div>Both "first" and "second" are valid data providers between two different layers.</div>
<div><br></div><div>It seems like the inner select() / nextFeature() pattern invalidates the outer? Is this is a cursor issue? It seems to me that QGIS has only one built-in cursor?</div><div><br></div><div>Hope you can provide me with some insights here.</div>
<div><br></div><div>Kind regards,</div><div>Rob</div>