<?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 Does TableToExcel not work on in_memory tables? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/does-tabletoexcel-not-work-on-in-memory-tables/m-p/355616#M27947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/tag/python scripts/tg-p"&gt;#python scripts&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;I have a python script that creates and populates a table that is in memory, then converts to an Excel file.&lt;/P&gt;&lt;P&gt;Pretty basic stuff.&lt;/P&gt;&lt;P&gt;When the table is an in memory table, the output excel File only has an ObjectID field.&lt;/P&gt;&lt;P&gt;When the table is on disk, it works fine, the output Excel file is fine.&lt;/P&gt;&lt;P&gt;Is this a "built in limitation" (bug)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Randy McGregor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Mar 2017 14:04:31 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2017-03-30T14:04:31Z</dc:date>
    <item>
      <title>Does TableToExcel not work on in_memory tables?</title>
      <link>https://community.esri.com/t5/python-questions/does-tabletoexcel-not-work-on-in-memory-tables/m-p/355616#M27947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/tag/python scripts/tg-p"&gt;#python scripts&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;I have a python script that creates and populates a table that is in memory, then converts to an Excel file.&lt;/P&gt;&lt;P&gt;Pretty basic stuff.&lt;/P&gt;&lt;P&gt;When the table is an in memory table, the output excel File only has an ObjectID field.&lt;/P&gt;&lt;P&gt;When the table is on disk, it works fine, the output Excel file is fine.&lt;/P&gt;&lt;P&gt;Is this a "built in limitation" (bug)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Randy McGregor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 14:04:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/does-tabletoexcel-not-work-on-in-memory-tables/m-p/355616#M27947</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-03-30T14:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Does TableToExcel not work on in_memory tables?</title>
      <link>https://community.esri.com/t5/python-questions/does-tabletoexcel-not-work-on-in-memory-tables/m-p/355617#M27948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS Desktop (ArcMap) or ArcGIS Pro?&amp;nbsp; What version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running ArcMap 10.5, and I don't see this behavior, i.e., &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;TableToExcel_conversion&lt;/SPAN&gt; copies everything from in-memory tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure the in-memory table actually has more columns than ObjectID?&amp;nbsp; Could it be the issue is with the table itself and not the conversion to Excel?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 14:30:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/does-tabletoexcel-not-work-on-in-memory-tables/m-p/355617#M27948</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-03-30T14:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Does TableToExcel not work on in_memory tables?</title>
      <link>https://community.esri.com/t5/python-questions/does-tabletoexcel-not-work-on-in-memory-tables/m-p/355618#M27949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I have 10.4.1. Not sure if that's it...&lt;/P&gt;&lt;P&gt;I tried "Copy Rows" on the in_memory table and the output was fine, had all the fields.&lt;/P&gt;&lt;P&gt;When I change "in_memory" to "c:\scratch\scratch.gdb" TableToExcel works fine.&lt;/P&gt;&lt;P&gt;I've had this problem for years actually. The solution of course is to put the intermediate table on disk, and just make sure it's a location everyone who uses the tool can access, but I'd really prefer in _memory...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 14:35:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/does-tabletoexcel-not-work-on-in-memory-tables/m-p/355618#M27949</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-03-30T14:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Does TableToExcel not work on in_memory tables?</title>
      <link>https://community.esri.com/t5/python-questions/does-tabletoexcel-not-work-on-in-memory-tables/m-p/355619#M27950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created an in memory table and added some fields interactively in ArcGIS Desktop, and TableToExcel work fine on that, so the python script is just not "committing" this table. Maybe I need to do a "save" or something...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 15:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/does-tabletoexcel-not-work-on-in-memory-tables/m-p/355619#M27950</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-03-30T15:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Does TableToExcel not work on in_memory tables?</title>
      <link>https://community.esri.com/t5/python-questions/does-tabletoexcel-not-work-on-in-memory-tables/m-p/355620#M27951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was the dreaded PEBKAC* error. I had entered the field length ("255") in the wrong location - in the "PRECISION" argument location. The LENGTH argument was blank (""). I put the length value in the correct location, and all works fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Problem exists between keyboard and chair.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 19:34:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/does-tabletoexcel-not-work-on-in-memory-tables/m-p/355620#M27951</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-04-03T19:34:58Z</dc:date>
    </item>
  </channel>
</rss>

