My problem is that the code is adding numbers to the field names, and this is incorrect.
Problem:
Field should be names VALUE_122, but after running JoinField code, it becomes VALUES_122_123. The values inside are correct.
I have manually gone over the code for the join field, and it does not contain the numbers 123 anywhere.Interestingly, VALUE_123 is not a field in anyone of the 2 tables involved in the joining.
I am using ArcMap 10.1
VALUE_122
.TableName1.FieldName1
. I suspect @Paul is right, Both tables have a field calledVALUE_122
, so when you join them, one field gets renamed something else. Field names are validated internally each time a new field is added in the user interface.