SlideShare a Scribd company logo
1 of 12
Download to read offline
Concatenate two different 
  Concatenate two different
attribute fields in ArcGIS using 
       VBA Logic Script
                 By 
            Ashok Peddi
        peddiasok@gmail.com
Open ArcGIS from 
Start‐>All Programs‐>ArcGIS‐>ArcMap
Start >All Programs >ArcGIS >ArcMap
If you have a 
  If you have a
shape file add it 
   to Arc Map
Open 
     Open
   Attribute 
table by right 
  clicking on 
  clicking on
the 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 have
created 
recently will be 
added to the 
Attribute table
     b      bl
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 Calculator
Field Calculator
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 want to 
    hi h          tt
merge 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
Concatenated 
Result

More Related Content

What's hot (8)

Hyperion analyzer 31 july
Hyperion analyzer 31 julyHyperion analyzer 31 july
Hyperion analyzer 31 july
 
Search syntax training
Search syntax trainingSearch syntax training
Search syntax training
 
Year 2 dsa c++ exercises on user defined functions
Year 2 dsa  c++ exercises on user defined functionsYear 2 dsa  c++ exercises on user defined functions
Year 2 dsa c++ exercises on user defined functions
 
txtQuizMaker
txtQuizMakertxtQuizMaker
txtQuizMaker
 
Lecture09 abap on line
Lecture09 abap on lineLecture09 abap on line
Lecture09 abap on line
 
6.6 Creating Calculated Controls
6.6 Creating Calculated Controls6.6 Creating Calculated Controls
6.6 Creating Calculated Controls
 
03 sajjad ali -qgis working with raster
03 sajjad ali -qgis working with raster03 sajjad ali -qgis working with raster
03 sajjad ali -qgis working with raster
 
Juthi
JuthiJuthi
Juthi
 

Similar to Concatenate two different_attribute_fields_in_arc_gis

Autocad excel vba
Autocad excel vbaAutocad excel vba
Autocad excel vba
rjg_vijay
 
Converting gis contours_to_cad
Converting gis contours_to_cadConverting gis contours_to_cad
Converting gis contours_to_cad
bonge02
 
Assignment6~$signment6.docxAssignment6Assignment6.docxAs.docx
Assignment6~$signment6.docxAssignment6Assignment6.docxAs.docxAssignment6~$signment6.docxAssignment6Assignment6.docxAs.docx
Assignment6~$signment6.docxAssignment6Assignment6.docxAs.docx
ssuser562afc1
 
I am having trouble writing the individual files for part 1, which i.pdf
I am having trouble writing the individual files for part 1, which i.pdfI am having trouble writing the individual files for part 1, which i.pdf
I am having trouble writing the individual files for part 1, which i.pdf
mallik3000
 
EX19_AC_CH03_GRADER_HOE_AS_InstructionsGrader - Instructi
EX19_AC_CH03_GRADER_HOE_AS_InstructionsGrader - InstructiEX19_AC_CH03_GRADER_HOE_AS_InstructionsGrader - Instructi
EX19_AC_CH03_GRADER_HOE_AS_InstructionsGrader - Instructi
BetseyCalderon89
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
llmeade
 

Similar to Concatenate two different_attribute_fields_in_arc_gis (17)

Getting started with the visual basic editor
Getting started with the visual basic editorGetting started with the visual basic editor
Getting started with the visual basic editor
 
Autocad excel vba
Autocad excel vbaAutocad excel vba
Autocad excel vba
 
Converting gis contours_to_cad
Converting gis contours_to_cadConverting gis contours_to_cad
Converting gis contours_to_cad
 
Visual basics Express Project
Visual basics Express ProjectVisual basics Express Project
Visual basics Express Project
 
Project advance itt
Project advance ittProject advance itt
Project advance itt
 
Assignment6~$signment6.docxAssignment6Assignment6.docxAs.docx
Assignment6~$signment6.docxAssignment6Assignment6.docxAs.docxAssignment6~$signment6.docxAssignment6Assignment6.docxAs.docx
Assignment6~$signment6.docxAssignment6Assignment6.docxAs.docx
 
You have been engaged to develop a special calculator program. T.docx
You have been engaged to develop a special calculator program. T.docxYou have been engaged to develop a special calculator program. T.docx
You have been engaged to develop a special calculator program. T.docx
 
Tutorials on Macro
Tutorials on MacroTutorials on Macro
Tutorials on Macro
 
Tugas testing
Tugas testingTugas testing
Tugas testing
 
Vba primer
Vba primerVba primer
Vba primer
 
Programming For As Comp
Programming For As CompProgramming For As Comp
Programming For As Comp
 
Programming For As Comp
Programming For As CompProgramming For As Comp
Programming For As Comp
 
How to make Gantt chart in Excel
How to make Gantt chart in ExcelHow to make Gantt chart in Excel
How to make Gantt chart in Excel
 
I am having trouble writing the individual files for part 1, which i.pdf
I am having trouble writing the individual files for part 1, which i.pdfI am having trouble writing the individual files for part 1, which i.pdf
I am having trouble writing the individual files for part 1, which i.pdf
 
Data migration
Data migrationData migration
Data migration
 
EX19_AC_CH03_GRADER_HOE_AS_InstructionsGrader - Instructi
EX19_AC_CH03_GRADER_HOE_AS_InstructionsGrader - InstructiEX19_AC_CH03_GRADER_HOE_AS_InstructionsGrader - Instructi
EX19_AC_CH03_GRADER_HOE_AS_InstructionsGrader - Instructi
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
 

More from Ashok Peddi

Project Monitoring and Problem Solving _Questionaire.docx
Project Monitoring and Problem Solving _Questionaire.docxProject Monitoring and Problem Solving _Questionaire.docx
Project Monitoring and Problem Solving _Questionaire.docx
Ashok Peddi
 
Level I Satellite image Classification-Thematic Map for multipurpouse usage.docx
Level I Satellite image Classification-Thematic Map for multipurpouse usage.docxLevel I Satellite image Classification-Thematic Map for multipurpouse usage.docx
Level I Satellite image Classification-Thematic Map for multipurpouse usage.docx
Ashok Peddi
 
Say no to make your yes stronger
Say no to make your yes strongerSay no to make your yes stronger
Say no to make your yes stronger
Ashok Peddi
 
Auto cad adding_bing_maps_layer-libre
Auto cad adding_bing_maps_layer-libreAuto cad adding_bing_maps_layer-libre
Auto cad adding_bing_maps_layer-libre
Ashok Peddi
 
Fundamentals of remote sensing
Fundamentals of remote sensingFundamentals of remote sensing
Fundamentals of remote sensing
Ashok Peddi
 
Arc gis introduction-ppt
Arc gis introduction-pptArc gis introduction-ppt
Arc gis introduction-ppt
Ashok Peddi
 
Concatenate two different_attribute_fields_in_arc_gis
Concatenate two different_attribute_fields_in_arc_gisConcatenate two different_attribute_fields_in_arc_gis
Concatenate two different_attribute_fields_in_arc_gis
Ashok Peddi
 
Erasmus mundus visiting scholar report final
Erasmus mundus visiting scholar report finalErasmus mundus visiting scholar report final
Erasmus mundus visiting scholar report final
Ashok Peddi
 
Free open source gis
Free open source gisFree open source gis
Free open source gis
Ashok Peddi
 

More from Ashok Peddi (20)

Project Monitoring and Problem Solving _Questionaire.docx
Project Monitoring and Problem Solving _Questionaire.docxProject Monitoring and Problem Solving _Questionaire.docx
Project Monitoring and Problem Solving _Questionaire.docx
 
Level I Satellite image Classification-Thematic Map for multipurpouse usage.docx
Level I Satellite image Classification-Thematic Map for multipurpouse usage.docxLevel I Satellite image Classification-Thematic Map for multipurpouse usage.docx
Level I Satellite image Classification-Thematic Map for multipurpouse usage.docx
 
Moving life styles
Moving life stylesMoving life styles
Moving life styles
 
30 days challenge
30 days challenge30 days challenge
30 days challenge
 
Say no to make your yes stronger
Say no to make your yes strongerSay no to make your yes stronger
Say no to make your yes stronger
 
Auto cad adding_bing_maps_layer-libre
Auto cad adding_bing_maps_layer-libreAuto cad adding_bing_maps_layer-libre
Auto cad adding_bing_maps_layer-libre
 
Awesome way to live
Awesome way to liveAwesome way to live
Awesome way to live
 
Fundamentals of remote sensing
Fundamentals of remote sensingFundamentals of remote sensing
Fundamentals of remote sensing
 
Image classification arc gis10
Image classification arc gis10Image classification arc gis10
Image classification arc gis10
 
Arc gis introduction-ppt
Arc gis introduction-pptArc gis introduction-ppt
Arc gis introduction-ppt
 
Gis arc map& georeferencing-arcgis
Gis arc map& georeferencing-arcgisGis arc map& georeferencing-arcgis
Gis arc map& georeferencing-arcgis
 
Digitization arc gis
Digitization arc gisDigitization arc gis
Digitization arc gis
 
Arc catalog introduction
Arc catalog introductionArc catalog introduction
Arc catalog introduction
 
Introduction to-arc map
Introduction to-arc mapIntroduction to-arc map
Introduction to-arc map
 
Five ways to lead a happy life
Five ways to lead a happy lifeFive ways to lead a happy life
Five ways to lead a happy life
 
Team and team!
Team and team!Team and team!
Team and team!
 
Draw lines from shapes
Draw lines from shapesDraw lines from shapes
Draw lines from shapes
 
Concatenate two different_attribute_fields_in_arc_gis
Concatenate two different_attribute_fields_in_arc_gisConcatenate two different_attribute_fields_in_arc_gis
Concatenate two different_attribute_fields_in_arc_gis
 
Erasmus mundus visiting scholar report final
Erasmus mundus visiting scholar report finalErasmus mundus visiting scholar report final
Erasmus mundus visiting scholar report final
 
Free open source gis
Free open source gisFree open source gis
Free open source gis
 

Concatenate two different_attribute_fields_in_arc_gis