I have a subsetstring query applied in code to the layer data. Yet I find that
it does not return any records that it should have
located.
The code is pasted below, the setSubsetString passes and yet the selected
feature count is 0. What am I missing here?
//Query the edge table edge field to find the two vertices
strQryEdge = "EDGEID=" + fld0.toString() + "";
if (inEdgeVectorProvider->supportsSubsetString())
{
blnQryCur=inEdgeVectorLayer->setSubsetString(strQryEdge);
if (blnQryCur)
{
lstEdgeFeats = inEdgeVectorLayer->selectedFeatures();
txtStream << " Recount - "<<lstEdgeFeats.count()<<endl;
} // if network source query returns edge result
} // if edge provider supports query subst
Thank you,
Maaza
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer