For those still banging their heads against the wall:
I have a call into ESRI about this issue but I've made so headway for those that need a quick fix.
On my ArcGIS 10 SP2 the 'Add Join' tool will always add fully qualified field names (aka alias, tablename.fieldname, tablename_fieldname) regardless of what the environment settings are in the Canvas view.
If I right click on the model in the toolbox and got to model properties, then 'Maintain fully qualified field names' is unchecked - see attached. Running the model results in the tablename.fieldname outputs.
Now if I run the model from ArcCatalog and on the parameters page look at the environment settings the 'Maintain fully...' is checked - see second attached. If I uncheck this box and run the model then the fields are the fieldnames without the tablename. This setting has to be manually changed each time the model is run.
The two areas to set environment parameters do not respect eachother. I have also tried 10+ combinations of check/uncheck/save/apply/uncheck/save/validate/run/save in the Canvas view without anything working.
This is the only way I can get 'Add join' to work the way I want it to in model builder 10.
This is of course a huge pain as I can no longer step through models in the canvas view as I did so effortlessly in 9.3.1 but hopefully this helps anyone else experiencing my frustrations with model builder 10 and 'Add Join'. I'll update if ESRI Canada finds a solution for me.
OMG, I'm new to modelbuilder and I think I made a huge error. I used the JoinField tool instead of the AddJoin tool because I couldn't figure out why I couldn't do what I thought the AddJoin tool should have been able to do. So, now I can't seem to RemoveJoin -- what's a newbie to do?
And thanks for all this other good stuff. I think I can set it up right now but it would be nice if the AddJoin worked correctly.
New to ModelBuilder not New to ArcGIS; I just finally have a little time to play and get in trouble!:)
OMG, I'm new to modelbuilder and I think I made a huge error. I used the JoinField tool instead of the AddJoin tool because I couldn't figure out why I couldn't do what I thought the AddJoin tool should have been able to do. So, now I can't seem to RemoveJoin -- what's a newbie to do?
And thanks for all this other good stuff. I think I can set it up right now but it would be nice if the AddJoin worked correctly.
New to ModelBuilder not New to ArcGIS; I just finally have a little time to play and get in trouble!:)
It's now 2015 and this thread topic, along with its precursor, has no real solution. That's 11 years with no fix. A decade is a reasonable window for improvement and yet the geoprocessing tools still don't work as it should.