Hi Jeff,
First, thank you for your input.
I took the code you wrote, modifying it for the path name to the mxd on my computer, and ran the code. Still came up with two different values for the .longName. The first .longName outside the dataFrame loop gave the proper results. The .longName within the dataFrame loop was not correct.
So, the next thing I will do is go to the college, use one of their computers, and see what happens. If their computers give the correct response, I probably will strip Python off my comupter and reload it.
I am using PythonWin 2.6.5 and version 10.0 of arcMap.
I'll let you know the results, regardless.
Update:
I am at the college now, and on their machine(s) the code runs fine, getting the same correct results for the .longName object property.
Thanks so much Jeff, if you hadn't replied, I never would have questioned that the IDLE or Esri programs could be loaded incorrectly on my computer.
a
Thanks again for looking at this.
a