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 ???
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 ???