Hi,I searched for the proper syntax to do a query like this ...xxLayer.query(where = 'objectid > 0')but instead of giving it the value (here 0) this should be a variableHow is that done?Thanks Günter
Go to Solution.
Can you try
query_result = FeatureLayer.query(where = 'objectId > ' + str(layer_id))
View solution in original post
Smooth and straight. I googled, searched ... found stuff like %s, var ... but did not test the "Esri way" :) Thanks!