Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

makefeaturelayer in selection use AND statement

$
0
0
I have export makefeature layer in model builder to python
arcpy.MakeFeatureLayer_management("l_GBKN_mut", "l_GBKN_mut_layer", "\"LKICODE\" = v_object AND \"PRECISIE\" =v_precisie", "",)
And afcourse this is not working

I change the query in a single selection
arcpy.MakeFeatureLayer_management("l_GBKN_mut", "l_GBKN_mut_layer", "LKICODE = " + v_object)
This is working very good
But I want use de AND/OR statement in the query
What I have to do ???

Viewing all articles
Browse latest Browse all 2485

Trending Articles