Hi everybody,
I need to add a specific value to an attribute table in the model builder. The whole basic workflow is as follow:
Everything wents well so far, but I'm stuck at the point of add the specific value to the attribute table. I add a "calculator expression" to specify the points to extract in point 1 and was hoping to use the same expression to add it to the attribute table (point 5), but while point 1 is working as expected, point 5 isn't. I'm also not able to get it work by adding the expression directly inside the "calculate field" command.
Can anybody maybe help me to solve this problem?
Thank you very much in advance 🙂
I would recommend not attempting to join the expression to both the Make Feature Layer and Field Calculator tool. For the Make FeatureLayer tool the expression is correct as it as a valid SQL expression. For field calculator it is invalid as you only need to provide the value that you want to assign the the field art_id. If you think about it your field calculate is saying set art_id to equal "art_id" = '1990_114_4' which is gibberish. You simply want to set art_id to the text "1990_114_4" not a SQL expression.