<?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: Arcpy Python 3.6 MDB table in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-python-3-6-mdb-table/m-p/542937#M42348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using ArcGIS PRO? and its arcpy?&amp;nbsp; I never used *.mdb so I can't test whether this applies to arcpy or not&lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/get-started/faq.htm"&gt;http://pro.arcgis.com/en/pro-app/get-started/faq.htm&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="background-color: transparent; color: #4c4c4c; display: block; flex-direction: row; font-family: &amp;amp;quot; avenir next w01&amp;amp;quot;,&amp;amp;quot;avenir next w00&amp;amp;quot;,&amp;amp;quot;avenir next&amp;amp;quot;,&amp;amp;quot;avenir&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,sans-serif; font-feature-settings: &amp;amp;quot; liga&amp;amp;quot; 1, &amp;amp;quot;calt&amp;amp;quot; 0; font-size: 17px; font-style: normal; font-variant: normal; font-weight: 400; height: 26.67px; letter-spacing: 0px; line-height: 26.35px; min-height: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;&lt;P style="font-weight: 600; margin-bottom: 0px; margin-top: 0px;"&gt;&lt;SPAN style="font-size: 13px;"&gt;Can I use personal geodatabases (&lt;SPAN style="font-family: &amp;amp;quot;"&gt;.mdb&lt;/SPAN&gt;) as data sources for &lt;SPAN style="font-weight: 600; margin-bottom: 0px; margin-top: 0px;"&gt;ArcGIS Pro&lt;/SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV style="background-color: transparent; color: #4c4c4c; display: block; flex-direction: row; font-family: &amp;amp;quot; avenir next w01&amp;amp;quot;,&amp;amp;quot;avenir next w00&amp;amp;quot;,&amp;amp;quot;avenir next&amp;amp;quot;,&amp;amp;quot;avenir&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,sans-serif; font-feature-settings: &amp;amp;quot; liga&amp;amp;quot; 1, &amp;amp;quot;calt&amp;amp;quot; 0; font-size: 17px; font-style: normal; font-variant: normal; font-weight: 400; height: 79.05px; letter-spacing: 0px; line-height: 26.35px; min-height: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;&lt;A style="color: #0074b8; text-decoration: none;"&gt;&lt;/A&gt;&lt;P style="margin-bottom: 26.35px; margin-top: 0px;"&gt;&lt;SPAN style="font-size: 13px;"&gt;No. Personal geodatabases are not supported in &lt;SPAN style="margin: 0px; height: auto; color: #4c4c4c; line-height: 26.35px; letter-spacing: 0px; font-style: normal; font-weight: 400; display: inline; min-height: 0px; flex-direction: row; background-color: transparent;"&gt;ArcGIS Pro&lt;/SPAN&gt;, so you cannot use personal geodatabase datasets as inputs for geoprocessing tools or create those datasets as outputs. &lt;A href="http://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/types-of-geodatabases.htm#GUID-8942E55D-FD88-4171-BAF3-EF44303C4D24" style="color: #0074b8; text-decoration: none;"&gt;File geodatabases&lt;/A&gt; are fully supported and are the default workspaces for &lt;SPAN style="margin: 0px; height: auto; color: #4c4c4c; line-height: 26.35px; letter-spacing: 0px; font-style: normal; font-weight: 400; display: inline; min-height: 0px; flex-direction: row; background-color: transparent;"&gt;ArcGIS Pro&lt;/SPAN&gt; projects.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2018 02:11:40 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-05-02T02:11:40Z</dc:date>
    <item>
      <title>Arcpy Python 3.6 MDB table</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-python-3-6-mdb-table/m-p/542936#M42347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can use a da.searchcursor to connect to an mdb table using Pyhton 2.7, but when I try the exact same code in Python 3.6, I get an error that it cannot find the table. When I use the same exact code and point it to a gbd table it works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I miss something that python 3.6 and arcpy will not connect to mdb tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;dataPath = "G:\\ArcGIS\\Standards\\Tools_and_Scripts\\SmokeTesting"&lt;BR /&gt;dbName = "17-078_Smoke_Field_KCMO_OCP.mdb"&lt;BR /&gt;sectionTbl = dataPath + "\\" + dbName +"\\tblSmkSewerSectionTable"&lt;/P&gt;&lt;P&gt;tbl = "G:\\ArcGIS\\Standards\\Tools_and_Scripts\\SmokeTesting\\17-078_Smoke_Field_KCMO_OCP.mdb\\tblSmkSewerSectionTable"&lt;/P&gt;&lt;P&gt;tblGD = "G:\\ArcGIS\\Standards\\Tools_and_Scripts\\MACP_Processing\\memphis_macp_test\\memphis_manhole_inspections_17_025_phase_5.gdb\\memphis_manhole_inspections_17_025_phase_5"&lt;/P&gt;&lt;P&gt;with arcpy.da.SearchCursor(tbl, '*') as cursor:&lt;BR /&gt; for row in cursor:&lt;BR /&gt; print('{0}, {1}, {2}'.format(row[0], row[1], row[2]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the error -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "G:\ArcGIS\Standards\Tools_and_Scripts\mdbTest.py", line 9, in &amp;lt;module&amp;gt;&lt;BR /&gt; with arcpy.da.SearchCursor(tbl, '*') as cursor:&lt;BR /&gt;RuntimeError: cannot open 'G:\ArcGIS\Standards\Tools_and_Scripts\SmokeTesting\17-078_Smoke_Field_KCMO_OCP.mdb\tblSmkSewerSectionTable'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 14:18:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-python-3-6-mdb-table/m-p/542936#M42347</guid>
      <dc:creator>RobertMEIER</dc:creator>
      <dc:date>2018-05-01T14:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Python 3.6 MDB table</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-python-3-6-mdb-table/m-p/542937#M42348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using ArcGIS PRO? and its arcpy?&amp;nbsp; I never used *.mdb so I can't test whether this applies to arcpy or not&lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/get-started/faq.htm"&gt;http://pro.arcgis.com/en/pro-app/get-started/faq.htm&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="background-color: transparent; color: #4c4c4c; display: block; flex-direction: row; font-family: &amp;amp;quot; avenir next w01&amp;amp;quot;,&amp;amp;quot;avenir next w00&amp;amp;quot;,&amp;amp;quot;avenir next&amp;amp;quot;,&amp;amp;quot;avenir&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,sans-serif; font-feature-settings: &amp;amp;quot; liga&amp;amp;quot; 1, &amp;amp;quot;calt&amp;amp;quot; 0; font-size: 17px; font-style: normal; font-variant: normal; font-weight: 400; height: 26.67px; letter-spacing: 0px; line-height: 26.35px; min-height: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;&lt;P style="font-weight: 600; margin-bottom: 0px; margin-top: 0px;"&gt;&lt;SPAN style="font-size: 13px;"&gt;Can I use personal geodatabases (&lt;SPAN style="font-family: &amp;amp;quot;"&gt;.mdb&lt;/SPAN&gt;) as data sources for &lt;SPAN style="font-weight: 600; margin-bottom: 0px; margin-top: 0px;"&gt;ArcGIS Pro&lt;/SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV style="background-color: transparent; color: #4c4c4c; display: block; flex-direction: row; font-family: &amp;amp;quot; avenir next w01&amp;amp;quot;,&amp;amp;quot;avenir next w00&amp;amp;quot;,&amp;amp;quot;avenir next&amp;amp;quot;,&amp;amp;quot;avenir&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,sans-serif; font-feature-settings: &amp;amp;quot; liga&amp;amp;quot; 1, &amp;amp;quot;calt&amp;amp;quot; 0; font-size: 17px; font-style: normal; font-variant: normal; font-weight: 400; height: 79.05px; letter-spacing: 0px; line-height: 26.35px; min-height: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;&lt;A style="color: #0074b8; text-decoration: none;"&gt;&lt;/A&gt;&lt;P style="margin-bottom: 26.35px; margin-top: 0px;"&gt;&lt;SPAN style="font-size: 13px;"&gt;No. Personal geodatabases are not supported in &lt;SPAN style="margin: 0px; height: auto; color: #4c4c4c; line-height: 26.35px; letter-spacing: 0px; font-style: normal; font-weight: 400; display: inline; min-height: 0px; flex-direction: row; background-color: transparent;"&gt;ArcGIS Pro&lt;/SPAN&gt;, so you cannot use personal geodatabase datasets as inputs for geoprocessing tools or create those datasets as outputs. &lt;A href="http://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/types-of-geodatabases.htm#GUID-8942E55D-FD88-4171-BAF3-EF44303C4D24" style="color: #0074b8; text-decoration: none;"&gt;File geodatabases&lt;/A&gt; are fully supported and are the default workspaces for &lt;SPAN style="margin: 0px; height: auto; color: #4c4c4c; line-height: 26.35px; letter-spacing: 0px; font-style: normal; font-weight: 400; display: inline; min-height: 0px; flex-direction: row; background-color: transparent;"&gt;ArcGIS Pro&lt;/SPAN&gt; projects.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 02:11:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-python-3-6-mdb-table/m-p/542937#M42348</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-05-02T02:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Python 3.6 MDB table</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-python-3-6-mdb-table/m-p/542938#M42349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I have the same question as Robert, I get error message when trying to read my MDB (ms-access) table using the following code (I am in Jupyter notebooks for ArcgisPro, Python 3.6):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;DIV&gt;inTable = r'C:\Users\ANNE\ArcGIS\Survey_DB\MyDatabase.mdb\SURVEY_ID'&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;DBsurveys = []&lt;BR /&gt;with arcpy.da.SearchCursor(inTable, ['SURVEYID', 'DTM_QC', 'SURVEY_TYPE']) as cursor:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; for row in cursor:&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; DBsurveys.append((row[0], row[1], row[2]))&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code is working perfectly well as an arcpy script (python 2.7).&lt;BR /&gt;I read the answer above which was given to Robert and it does not answer the question at all. We are talking about MDB table here, so NOT a geodatabase. The error message I get is:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="box-sizing: border-box; color: #b22b31; font-family: monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px;"&gt;RuntimeError&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: black; font-family: monospace; font-size: inherit; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: inherit; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-break: break-all; word-spacing: 0px;"&gt;: cannot open '&lt;SPAN style="text-align: left; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: andale mono,monospace; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; word-spacing: 0px; display: inline !important; white-space: normal; orphans: 2; float: none; -webkit-text-stroke-width: 0px; background-color: #f6f6f6;"&gt;C:\Users\ANNE\ArcGIS\Survey_DB\MyDatabase.mdb\SURVEY_ID&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something I am missing? Is it that we cannot read in MDB tables anymore?&lt;BR /&gt;Is it possible to get answer from ESRI staff?&lt;BR /&gt;Thanks a lot in advance,&amp;nbsp;&lt;BR /&gt;Anne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 10:07:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-python-3-6-mdb-table/m-p/542938#M42349</guid>
      <dc:creator>AnneEstoppey</dc:creator>
      <dc:date>2020-04-16T10:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Python 3.6 MDB table</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-python-3-6-mdb-table/m-p/542939#M42350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the esri staff that write the documentation&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/get-started/faq.htm" title="https://pro.arcgis.com/en/pro-app/get-started/faq.htm"&gt;Frequently asked questions—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/get-started/faq.htm#anchor38" title="https://pro.arcgis.com/en/pro-app/get-started/faq.htm#anchor38"&gt;Can I use personal geodatabases (.mdb) as data sources for ArcGIS Pro&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;Anything associated with a table in a personal geodatabase can't be read&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 10:30:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-python-3-6-mdb-table/m-p/542939#M42350</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-04-16T10:30:04Z</dc:date>
    </item>
  </channel>
</rss>

