Concatenate two different   Concatenate two differentattribute fields in ArcGIS using        VBA Logic Script             ...
Open ArcGIS from Start‐>All Programs‐>ArcGIS‐>ArcMapStart >All Programs >ArcGIS >ArcMap
If you have a   If you have ashape file add it    to Arc Map
Open      Open   Attribute table by right   clicking on   clicking onthe shape file   in table of    contents       t t
Add a field by click on  Options‐>Add Field Add Field
The field which you have you havecreated recently will be added to the Attribute table     b      bl
Field Calculator                    Fi ld C l l t                   window will                    open like this  Right C...
Check the   advanced   check box then the Pre‐  Logic VBA   L i VBA    Script  window will    be open    be open
Declare a variable IdNo as we declare in      as we declare in  VB as String . Assign any column filed to it   which you w...
Concatenated Result
Concatenate two different_attribute_fields_in_arc_gis
Concatenate two different_attribute_fields_in_arc_gis
Upcoming SlideShare
Loading in …5
×

Concatenate two different_attribute_fields_in_arc_gis

370
-1

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
370
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Concatenate two different_attribute_fields_in_arc_gis

  1. 1. Concatenate two different  Concatenate two differentattribute fields in ArcGIS using  VBA Logic Script By  Ashok Peddi peddiasok@gmail.com
  2. 2. Open ArcGIS from Start‐>All Programs‐>ArcGIS‐>ArcMapStart >All Programs >ArcGIS >ArcMap
  3. 3. If you have a  If you have ashape file add it  to Arc Map
  4. 4. Open  Open Attribute table by right  clicking on  clicking onthe shape file  in table of  contents t t
  5. 5. Add a field by click on  Options‐>Add Field Add Field
  6. 6. The field which you have you havecreated recently will be added to the Attribute table b bl
  7. 7. Field Calculator  Fi ld C l l t window will  open like this  Right Click on the field(Which  you have  created  just now)and select Field CalculatorField Calculator
  8. 8. Check the  advanced  check box then the Pre‐ Logic VBA  L i VBA Script  window will  be open  be open
  9. 9. Declare a variable IdNo as we declare in as we declare in  VB as String . Assign any column filed to it  which you want to  hi h ttmerge or concatenate  in the Per‐Logic VBA  Script Code Window.Then Concatenate any  text or number to it  text or number to it like writing  “MP”&IdNo . Here I wanted to  H I t dt concatenate MP and  FALSEID
  10. 10. Concatenated Result
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×