<?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: Auto DBF output help! in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282087#M21762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The table I want to output to DBF is inside a .mxd file, but this script doesn't seem to require an input file, only a directory.&amp;nbsp; The table name is "AJD_rate".&amp;nbsp; Where am I going wrong?&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;TIA&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The example shows you how to convert a list of GDB tables ("inTables").&amp;nbsp; They are setting the workspace then just specifying the names of the tables inside of that geodatabase ("workspace") to output .dbf files to that output folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The question is, what is your input table?&amp;nbsp; Saying "the table in a .mxd file" is not enough.&amp;nbsp; What is it?&amp;nbsp; Where is it?&amp;nbsp; etc...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 17:17:55 GMT</pubDate>
    <dc:creator>JamesCrandall</dc:creator>
    <dc:date>2014-02-20T17:17:55Z</dc:date>
    <item>
      <title>Auto DBF output help!</title>
      <link>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282086#M21761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not understanding how to use the script located here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00120000001t000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00120000001t000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've used other python scripts such as auto pdf output script with no problem.&amp;nbsp; Here is how I'm attempting to use this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
from arcpy import env
 
env.workspace = "c:/Test"
 
inTables = ["AJD_rate"]
outLocation = "c:/Test"


try: 
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Execute TableToDBASE
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.TableToDBASE_conversion(inTables, outLocation)
except:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print arcpy.GetMessages()&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The table I want to output to DBF is inside a .mxd file, but this script doesn't seem to require an input file, only a directory.&amp;nbsp; The table name is "AJD_rate".&amp;nbsp; Where am I going wrong?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:40:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282086#M21761</guid>
      <dc:creator>DannyLackey</dc:creator>
      <dc:date>2021-12-11T13:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Auto DBF output help!</title>
      <link>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282087#M21762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The table I want to output to DBF is inside a .mxd file, but this script doesn't seem to require an input file, only a directory.&amp;nbsp; The table name is "AJD_rate".&amp;nbsp; Where am I going wrong?&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;TIA&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The example shows you how to convert a list of GDB tables ("inTables").&amp;nbsp; They are setting the workspace then just specifying the names of the tables inside of that geodatabase ("workspace") to output .dbf files to that output folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The question is, what is your input table?&amp;nbsp; Saying "the table in a .mxd file" is not enough.&amp;nbsp; What is it?&amp;nbsp; Where is it?&amp;nbsp; etc...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 17:17:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282087#M21762</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2014-02-20T17:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Auto DBF output help!</title>
      <link>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282088#M21763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is all in an effort to "workaround" the lack of .dbf output in MS Access since their 2013 version.&amp;nbsp; I noticed that ArcGIS has the ability to output a DBF, so my idea was to have access output a table, have that table linked in ArcGIS, create a script to have ArcGIS dump this table to DBF via python, then link that dbf back to ArcGIS.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apparently .dbf's don't lock (desirable for multiple users) and allows additional data to be visible within the map.&amp;nbsp; This table contains x,y data, and some additional data.&amp;nbsp; So, that's where it comes from and that's what's in it.&amp;nbsp; This would be a .py file I could call from Windows Task Scheduler.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 17:24:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282088#M21763</guid>
      <dc:creator>DannyLackey</dc:creator>
      <dc:date>2014-02-20T17:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Auto DBF output help!</title>
      <link>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282089#M21764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, but what is the input table that you dropped into ArcMap and you want to convert to a .dbf file?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 17:40:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282089#M21764</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2014-02-20T17:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Auto DBF output help!</title>
      <link>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282090#M21765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Its a table linked from an access database (.mdb)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 17:52:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282090#M21765</guid>
      <dc:creator>DannyLackey</dc:creator>
      <dc:date>2014-02-20T17:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Auto DBF output help!</title>
      <link>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282091#M21766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not able to set a workspace to an .mdb in my quick testing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 18:13:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282091#M21766</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2014-02-20T18:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Auto DBF output help!</title>
      <link>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282092#M21767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you set it to an .xlsx workbook?&amp;nbsp; That would be ideal.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 18:16:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282092#M21767</guid>
      <dc:creator>DannyLackey</dc:creator>
      <dc:date>2014-02-20T18:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Auto DBF output help!</title>
      <link>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282093#M21768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version of ArcMap are you working with?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What type of operating system are you (32-bit or 64-bit)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 18:20:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282093#M21768</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-02-20T18:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Auto DBF output help!</title>
      <link>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282094#M21769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What version of ArcMap are you working with?&lt;BR /&gt;&lt;BR /&gt;What type of operating system are you (32-bit or 64-bit)?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10.1 &amp;amp; 64bit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 18:23:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282094#M21769</guid>
      <dc:creator>DannyLackey</dc:creator>
      <dc:date>2014-02-20T18:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Auto DBF output help!</title>
      <link>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282095#M21770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Make sure you are working with 32-bit python as 64-bit python will not work with personal geodatabases (Access).&amp;nbsp; No sure if this will matter, but make sure you have Background Geoprocessing disabled as that is running in 64-bit mode.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 18:50:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282095#M21770</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-02-20T18:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Auto DBF output help!</title>
      <link>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282096#M21771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the first thing I tried...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Opening a new instance of arcmap, clicking "add data", selecting a .xlsx spreadsheet with the x,y data, saving map (.mxd).&amp;nbsp; Then I run the python script...get errors.&amp;nbsp; I don't know how to reference the .mxd file or table within it. Seems like this should be easy...&amp;nbsp; I simply want to output the table I just added to arcmap (.mxd) (linked spreadsheet) to .dbf.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 19:18:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282096#M21771</guid>
      <dc:creator>DannyLackey</dc:creator>
      <dc:date>2014-02-20T19:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Auto DBF output help!</title>
      <link>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282097#M21772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Figured it out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using an mdb file created by ArcCatalog with the table in it I wanted converted to .dbf.&amp;nbsp; Python seems particular about having drive letters as opposed to complete network paths&amp;nbsp; (ie. \\)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy import env&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;env.workspace = "J:\DBF_Output.mdb"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.TableToDBASE_conversion(["Table_Name"], "J:\DBF_Output")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So simple it's dumb.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 21:38:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/auto-dbf-output-help/m-p/282097#M21772</guid>
      <dc:creator>DannyLackey</dc:creator>
      <dc:date>2014-02-20T21:38:08Z</dc:date>
    </item>
  </channel>
</rss>

