concatenate two different_attribute_fields_in_arc_gis
TRANSCRIPT
![Page 1: Concatenate two different_attribute_fields_in_arc_gis](https://reader033.vdocuments.net/reader033/viewer/2022052823/55517173b4c905723b8b4d01/html5/thumbnails/1.jpg)
Concatenate two differentConcatenate two different attribute fields in ArcGIS using
VBA Logic Script
By Ashok Peddi
![Page 2: Concatenate two different_attribute_fields_in_arc_gis](https://reader033.vdocuments.net/reader033/viewer/2022052823/55517173b4c905723b8b4d01/html5/thumbnails/2.jpg)
Open ArcGIS from Start >All Programs >ArcGIS >ArcMapStart‐>All Programs‐>ArcGIS‐>ArcMap
![Page 3: Concatenate two different_attribute_fields_in_arc_gis](https://reader033.vdocuments.net/reader033/viewer/2022052823/55517173b4c905723b8b4d01/html5/thumbnails/3.jpg)
If you have aIf you have a shape file add it to Arc Map
![Page 4: Concatenate two different_attribute_fields_in_arc_gis](https://reader033.vdocuments.net/reader033/viewer/2022052823/55517173b4c905723b8b4d01/html5/thumbnails/4.jpg)
OpenOpen Attribute
table by right clicking onclicking on
the shape file in table of
t tcontents
![Page 5: Concatenate two different_attribute_fields_in_arc_gis](https://reader033.vdocuments.net/reader033/viewer/2022052823/55517173b4c905723b8b4d01/html5/thumbnails/5.jpg)
Add a field by click on Options‐>Add FieldAdd Field
![Page 6: Concatenate two different_attribute_fields_in_arc_gis](https://reader033.vdocuments.net/reader033/viewer/2022052823/55517173b4c905723b8b4d01/html5/thumbnails/6.jpg)
![Page 7: Concatenate two different_attribute_fields_in_arc_gis](https://reader033.vdocuments.net/reader033/viewer/2022052823/55517173b4c905723b8b4d01/html5/thumbnails/7.jpg)
The field which you haveyou have created recently will be added to the
b blAttribute table
![Page 8: Concatenate two different_attribute_fields_in_arc_gis](https://reader033.vdocuments.net/reader033/viewer/2022052823/55517173b4c905723b8b4d01/html5/thumbnails/8.jpg)
Fi ld C l l tField Calculator window will open like this
Right Click on the field(Which
you have created just
now)and select Field CalculatorField Calculator
![Page 9: Concatenate two different_attribute_fields_in_arc_gis](https://reader033.vdocuments.net/reader033/viewer/2022052823/55517173b4c905723b8b4d01/html5/thumbnails/9.jpg)
Check the advanced check box
then the Pre‐L i VBALogic VBA Script
window will be openbe open
![Page 10: Concatenate two different_attribute_fields_in_arc_gis](https://reader033.vdocuments.net/reader033/viewer/2022052823/55517173b4c905723b8b4d01/html5/thumbnails/10.jpg)
Declare a variable IdNo as we declare inIdNo as we declare in VB as String . Assign any column filed to it
hi h t twhich you want to merge or concatenate in the Per‐Logic VBA Script Code Window.Then Concatenate any text or number to ittext or number to it
like writing “MP”&IdNo .
H I t d tHere I wanted to concatenate MP and
FALSEID
![Page 11: Concatenate two different_attribute_fields_in_arc_gis](https://reader033.vdocuments.net/reader033/viewer/2022052823/55517173b4c905723b8b4d01/html5/thumbnails/11.jpg)
![Page 12: Concatenate two different_attribute_fields_in_arc_gis](https://reader033.vdocuments.net/reader033/viewer/2022052823/55517173b4c905723b8b4d01/html5/thumbnails/12.jpg)
Concatenated Result