Join fields based on different field values

Discussion created by priyanka_mehta on Jul 28, 2011
Latest reply on Jul 29, 2011 by priyanka_mehta
Hi all,

  I am trying to join fields from 2 shapefiles. The field "FID" in one shapefile is same as field "PntName" in another shapefile.

Its like,, Input Join field is  - FID and output join field - PntName

Is there a way to modify the below sample code where it takes different field names for both shapefiles (just like it can be done through the inbuilt tool - Join fields)

Thanks in advance,