So now I started using the 'Join Field' instead of the 'Add field' tool to see how it goes... visually it seems to be the right option for me but then I realized that when I use the tables iterator I'm given the option to select which fields I want to appear on my joined table (On the Join Field Window) - and apparently, that's my problem:
I want to select two fields from each table I want to join. One field is the one that I have in common with all tables (the 'matrix' one - which all tables will be joined to - and all other tables), and since it's the same field name for all tables, the iterator gets that this field will be added in every loop. However, the second field I want to join is VALUE_x (being x a number used as a code so that I know which table corresponds to). This VALUE_x was created automatically on each table (I did a 'tabulate areas' for my layers on a previous model), and on the Join Field Window when I am prompted to select what fields I want to appear on my joined table, the option given to me to select is VALUE_4 (the exact field the first table on my iterator has). Since no other table will have this field, but rather a VALUE_x (some other number), the model goes to an error message "999999 : Error executing function" and ends.
Is there a way for me to add a field like VALUE_% or something similar? Or a way for my iterator to get that in every loop the number will be different?
Thanks,
Daniele