Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to combine two fields in an attribute table. I want to do this using the field calculator. What is the proper script to write to combine a field called "name" and "type", so that it produces one field with "name type"?

I'm using ArcGIS Desktop 10.0.

share|improve this question

When in VBScript mode the sytnax would be


To add some separation you can use:

[name] & "-" & [type]

to put a dash between the two values.

share|improve this answer
Awesome! Thank you so much! – mmiller Oct 17 '12 at 17:36
This is also refered to as "concatenating" values. @mmiller - can you please accept the above as "answered"? – Jakub Oct 17 '12 at 20:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.