Select to view content in your preferred language

Calculate Field in Model Builder

602
2
08-05-2010 06:53 AM
DavidJud
New Contributor
I want to calculate a new field using the model builder.
The new content is the "sum" of a text ("U") and a number field.
I use the VB-Expression "U"&Left([GST_def],1).

This expression works fine if I use it in the Attribute Table -> Calculate Field but it does not work within my model.

I attached a .jpg with my Calculate Field funtion.

Thanks for you help.

David Jud
0 Kudos
2 Replies
BBicking1
Esri Contributor
I want to calculate a new field using the model builder.
The new content is the "sum" of a text ("U") and a number field.
I use the VB-Expression "U"&Left([GST_def],1).

This expression works fine if I use it in the Attribute Table -> Calculate Field but it does not work within my model.

I attached a .jpg with my Calculate Field funtion.

Thanks for you help.

David Jud




Hello David,

can you please attach the toolbox holding the model and possibly any data needed?
Can you clarify this "...use it in the Attribute Table -> Calculate Field " - I do not know what you're referring to here.

Thank you, Barbara Bicking
0 Kudos
DavidJud
New Contributor
Thanks for your will to help, but now all the sudden it works just fine!
0 Kudos