<?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 referencing a table from a .mdb file in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/referencing-a-table-from-a-mdb-file/m-p/160002#M12254</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working with join and relates commands.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the GUI, I can reference tables from a .mdb (microsoft access) file. I would like to be able to do the same from a python script. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of arcpy.AddJoin_management( "veg_layer", "HOLLAND95", "vegtable.dbf", "HOLLAND95"), I would like to use something like arcpy.AddJoin_management( "veg_layer", "HOLLAND95", TABLEinMDB, "HOLLAND95"). I just have no idea what the syntax for TABLEinMDB would be. Does anybody have any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As an aside, is there some sort of feature logging feature in ARCGIS that would help to sort out these types of issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wayne&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2011 14:53:20 GMT</pubDate>
    <dc:creator>WayneHajas</dc:creator>
    <dc:date>2011-11-30T14:53:20Z</dc:date>
    <item>
      <title>referencing a table from a .mdb file</title>
      <link>https://community.esri.com/t5/python-questions/referencing-a-table-from-a-mdb-file/m-p/160002#M12254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working with join and relates commands.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the GUI, I can reference tables from a .mdb (microsoft access) file. I would like to be able to do the same from a python script. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of arcpy.AddJoin_management( "veg_layer", "HOLLAND95", "vegtable.dbf", "HOLLAND95"), I would like to use something like arcpy.AddJoin_management( "veg_layer", "HOLLAND95", TABLEinMDB, "HOLLAND95"). I just have no idea what the syntax for TABLEinMDB would be. Does anybody have any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As an aside, is there some sort of feature logging feature in ARCGIS that would help to sort out these types of issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wayne&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 14:53:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/referencing-a-table-from-a-mdb-file/m-p/160002#M12254</guid>
      <dc:creator>WayneHajas</dc:creator>
      <dc:date>2011-11-30T14:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: referencing a table from a .mdb file</title>
      <link>https://community.esri.com/t5/python-questions/referencing-a-table-from-a-mdb-file/m-p/160003#M12255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For example&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy

#Option1
MDB = "c:\temp\tables.mdb\"
table = "vegtable" 

arcpy.AddJoin_management( "veg_layer", "HOLLAND95", MDB + table, "HOLLAND95")




#Option2
TABLEinMDB = "c:\temp\tables.mdb\vegtable"

arcpy.AddJoin_management( "veg_layer", "HOLLAND95", TABLEinMDB, "HOLLAND95")
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: should not require the table end in .dbf&amp;nbsp; if it is located within a .mdb.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:26:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/referencing-a-table-from-a-mdb-file/m-p/160003#M12255</guid>
      <dc:creator>JamesHood</dc:creator>
      <dc:date>2021-12-11T08:26:04Z</dc:date>
    </item>
  </channel>
</rss>

