<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why does ArcMap mess up with the order of fields when importing a txt? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560264#M31739</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Oct 2017 10:14:06 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2017-10-23T10:14:06Z</dc:date>
    <item>
      <title>Why does ArcMap mess up with the order of fields when importing a txt?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560258#M31733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought first I should put it as a discussion but actually I am interested in an answer...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More details on my question:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open (drag&amp;amp;drop) a txt file (table) to my mxd, the order of the fields is randomly changed compared to what I see in excel or an text editor. For example, the first two columns end up being colums 18 and 19, column 8 becomes column 20. When I export it to the gdb I have my old order back.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not really a problem at the moment but I am a bit confused why ArcMap does this.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 10:28:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560258#M31733</guid>
      <dc:creator>Nicole_Ueberschär</dc:creator>
      <dc:date>2017-10-19T10:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcMap mess up with the order of fields when importing a txt?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560259#M31734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;image missing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 12:13:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560259#M31734</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-10-19T12:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcMap mess up with the order of fields when importing a txt?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560260#M31735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but on a guess it could be an internal sorting issue...&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;a &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'A'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'a'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'aA'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'B'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'b'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

a
Out&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'A'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'a'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'aA'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'B'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'b'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

a&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sort&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

a
Out&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'A'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'B'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'a'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'aA'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'b'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If not, a good lesson in what is expected, isn't always what 'is' &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:10:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560260#M31735</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-12T00:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcMap mess up with the order of fields when importing a txt?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560261#M31736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is how the table looks like after I opened the txt in ArcMap:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="txt after import into ArcMap" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/381158_txt_in_ArcMap.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how the table looks like after I exported it into the gdb (which is the correct order of columns):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="table after export into gdb" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/381157_table_in_gdb_ArcMap.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I can say (just seeing it now :-)) is that ArcMap seems to display first those columns that&amp;nbsp;have valid field names and after that those columns that have blanks or special characters in the original field name, thus are converted into alias names.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good to know...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 07:52:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560261#M31736</guid>
      <dc:creator>Nicole_Ueberschär</dc:creator>
      <dc:date>2017-10-23T07:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcMap mess up with the order of fields when importing a txt?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560262#M31737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to drop a lot of fields as well,&lt;/P&gt;&lt;P&gt;it would have been useful to see the original and alias name list for testing purposes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 09:51:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560262#M31737</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-10-23T09:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcMap mess up with the order of fields when importing a txt?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560263#M31738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a very long table that's why not all field names are visible. From what I found until now, none of the fields is dropped, just moved to a different column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am happy to share with you a file with the field names (will come by pm).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 09:59:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560263#M31738</guid>
      <dc:creator>Nicole_Ueberschär</dc:creator>
      <dc:date>2017-10-23T09:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcMap mess up with the order of fields when importing a txt?</title>
      <link>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560264#M31739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 10:14:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/why-does-arcmap-mess-up-with-the-order-of-fields/m-p/560264#M31739</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-10-23T10:14:06Z</dc:date>
    </item>
  </channel>
</rss>

