SlideShare una empresa de Scribd logo
1 de 12
Descargar para leer sin conexión
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

Más contenido relacionado

La actualidad más candente

Hyperion analyzer 31 july
Hyperion analyzer 31 julyHyperion analyzer 31 july
Hyperion analyzer 31 julyAmit Sharma
 
Search syntax training
Search syntax trainingSearch syntax training
Search syntax trainingDavidPixton
 
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 functionsErnesteNtezirizaza
 
Lecture09 abap on line
Lecture09 abap on lineLecture09 abap on line
Lecture09 abap on lineMilind Patil
 
6.6 Creating Calculated Controls
6.6 Creating Calculated Controls6.6 Creating Calculated Controls
6.6 Creating Calculated ControlsPyi Soe
 
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 rasterTOUSEEF3347
 

La actualidad más candente (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 a Concatenate two different_attribute_fields_in_arc_gis

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 editorputiadetiara
 
Autocad excel vba
Autocad excel vbaAutocad excel vba
Autocad excel vbarjg_vijay
 
Converting gis contours_to_cad
Converting gis contours_to_cadConverting gis contours_to_cad
Converting gis contours_to_cadbonge02
 
Visual basics Express Project
Visual basics Express ProjectVisual basics Express Project
Visual basics Express ProjectIftikhar Ahmed
 
Assignment6~$signment6.docxAssignment6Assignment6.docxAs.docx
Assignment6~$signment6.docxAssignment6Assignment6.docxAs.docxAssignment6~$signment6.docxAssignment6Assignment6.docxAs.docx
Assignment6~$signment6.docxAssignment6Assignment6.docxAs.docxssuser562afc1
 
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.docxbriancrawford30935
 
Tutorials on Macro
Tutorials on MacroTutorials on Macro
Tutorials on MacroAnurag Deb
 
Programming For As Comp
Programming For As CompProgramming For As Comp
Programming For As CompDavid Halliday
 
Programming For As Comp
Programming For As CompProgramming For As Comp
Programming For As CompDavid Halliday
 
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 ExcelNavjyotsinh Jadeja
 
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.pdfmallik3000
 
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 - InstructiBetseyCalderon89
 
Chapter 04
Chapter 04Chapter 04
Chapter 04llmeade
 

Similar a 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
 

Más de 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.docxAshok 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.docxAshok Peddi
 
Moving life styles
Moving life stylesMoving life styles
Moving life stylesAshok Peddi
 
30 days challenge
30 days challenge30 days challenge
30 days challengeAshok 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 strongerAshok 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-libreAshok Peddi
 
Awesome way to live
Awesome way to liveAwesome way to live
Awesome way to liveAshok Peddi
 
Fundamentals of remote sensing
Fundamentals of remote sensingFundamentals of remote sensing
Fundamentals of remote sensingAshok Peddi
 
Image classification arc gis10
Image classification arc gis10Image classification arc gis10
Image classification arc gis10Ashok Peddi
 
Arc gis introduction-ppt
Arc gis introduction-pptArc gis introduction-ppt
Arc gis introduction-pptAshok Peddi
 
Gis arc map& georeferencing-arcgis
Gis arc map& georeferencing-arcgisGis arc map& georeferencing-arcgis
Gis arc map& georeferencing-arcgisAshok Peddi
 
Digitization arc gis
Digitization arc gisDigitization arc gis
Digitization arc gisAshok Peddi
 
Arc catalog introduction
Arc catalog introductionArc catalog introduction
Arc catalog introductionAshok Peddi
 
Introduction to-arc map
Introduction to-arc mapIntroduction to-arc map
Introduction to-arc mapAshok Peddi
 
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 lifeAshok Peddi
 
Draw lines from shapes
Draw lines from shapesDraw lines from shapes
Draw lines from shapesAshok 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_gisAshok Peddi
 
Erasmus mundus visiting scholar report final
Erasmus mundus visiting scholar report finalErasmus mundus visiting scholar report final
Erasmus mundus visiting scholar report finalAshok Peddi
 
Free open source gis
Free open source gisFree open source gis
Free open source gisAshok Peddi
 

Más de 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