<?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: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274007#M21173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you trying to &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/create-feature-class.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/create-feature-class.htm"&gt;Create Feature Class—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp; you will not need to add the shape or OID fields they will be created for you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jun 2016 19:17:51 GMT</pubDate>
    <dc:creator>WesMiller</dc:creator>
    <dc:date>2016-06-03T19:17:51Z</dc:date>
    <item>
      <title>Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274003#M21169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works to make the DB using Python:&lt;/P&gt;&lt;P&gt;config_keyword = ""&lt;/P&gt;&lt;P&gt;mdb = ".mdb"&lt;/P&gt;&lt;P&gt;out_folder_path = "C:/output"&lt;/P&gt;&lt;P&gt;out_name = "CountyCode_MapGrid_"&lt;/P&gt;&lt;P&gt;name = "newDB"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.CreatePersonalGDB_management(out_folder_path, out_name + name + mdb)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it works fine but to get a table created INSIDE the .mdb using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; arcpy.CreateTable_management(out_folder_path, "Block_77", config_keyword)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(out_name, "OBJECTID", "AutoNumber")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(out_name, "SHAPE", "OLE Object")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(out_name, "id_block", "Number")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(out_name, "id_mapgrid", "Number")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(out_name, "map_number", "Short Text")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(out_name, "Block", "Short Text")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(out_name, "SHAPE_Length", "Number")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(out_name, "SHAPE_Area", "Number")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(out_name, "created_user", "Short Text")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(out_name, "created_date", "Date/Time")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(out_name, "last_edited_user", "Short Text")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(out_name, "last_edited_date", "Date/Time")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does not work. Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 15:56:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274003#M21169</guid>
      <dc:creator>PaulHacker2</dc:creator>
      <dc:date>2016-06-03T15:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274004#M21170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/create-table.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/create-table.htm"&gt;Create Table—Help | ArcGIS for Desktop&lt;/A&gt; doesn't appear to be an option of the 3 output types given &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 16:39:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274004#M21170</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-06-03T16:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274005#M21171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the workspace (with the name of the mdb), not just the folder location like you're doing with &lt;SPAN style="font-family: 'courier new', courier;"&gt;out_folder_path&lt;/SPAN&gt;. Same goes for adding the fields. You either need to define an &lt;SPAN style="font-family: 'courier new', courier;"&gt;arcpy.env.workspace()&lt;/SPAN&gt; or use the full path to the geodatabase and table.&lt;/P&gt;&lt;P&gt;But better yet, build your paths better with raw strings and the &lt;SPAN style="font-family: 'courier new', courier;"&gt;os.path&lt;/SPAN&gt; module. &lt;A href="https://community.esri.com/migration-blogpost/55463"&gt;Filenames and file paths in Python&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, looks like you're trying to add a shape field. Is this supposed to be a &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/create-feature-class.htm"&gt;feature class&lt;/A&gt;? If it's a feature class (a table with with a shape field), you should also be defining a &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/python/the-spatial-reference-object.htm#GUID-8A56FD7D-C52E-4194-9533-AA3904FC25D6"&gt;spatial reference&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, is there a particular reason you're using a personal geodatabase instead of a file geodatabase, which more robust and future-proof in the Esri world?&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/types-of-geodatabases.htm#GUID-8942E55D-FD88-4171-BAF3-EF44303C4D24" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/types-of-geodatabases.htm#GUID-8942E55D-FD88-4171-BAF3-EF44303C4D24"&gt;Types of geodatabases—ArcGIS Help | ArcGIS for Desktop&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 16:43:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274005#M21171</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2016-06-03T16:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274006#M21172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Blake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was asked to build personal geodatabase only and that is why I'm doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed it to have the DB name fully in the &lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;out_folder_path and it worked except on the "SHAPE" field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the original access mdb I used as a template had the 'Field Name' as SHAPE, and the data type says "OLE Object" when I look at it in the access db. I presumed it would be the same when creating using arcpy. I guess I'm wrong cause it stops right there in creating the table inside the DB. It gives the error..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR 000800: The value is not a member of TEXT | FLOAT | DOUBLE | SHORT | LONG | DATE | BLOB | RASTER | GUID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;SO I guess "OLE Object" is obviously not one of them!Any idea what a "OLE Object" is? I see it is allowed in Access. The OLE (Object Linking and Embedding)seems to be only in MS Access.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;Paul&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 19:12:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274006#M21172</guid>
      <dc:creator>PaulHacker2</dc:creator>
      <dc:date>2016-06-03T19:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274007#M21173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you trying to &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/create-feature-class.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/create-feature-class.htm"&gt;Create Feature Class—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp; you will not need to add the shape or OID fields they will be created for you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 19:17:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274007#M21173</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-06-03T19:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274008#M21174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Not sure about the feature class. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well my code looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Import system modules&lt;/P&gt;&lt;P&gt;import os, sys, traceback, math, decimal&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;from arcpy import env&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Set local variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;out_folder_path = "C:\\output" &lt;/P&gt;&lt;P&gt;out_name = "CountyCode_MapGrid_"&lt;/P&gt;&lt;P&gt;template = "TestDB.accdb"&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;# database designation&lt;/P&gt;&lt;P&gt;mdb = ".mdb"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# no idea what this will be used for.&lt;/P&gt;&lt;P&gt;config_keyword = ""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# arr is set to just one DB and table to be created inside the DB. But I will later have many DBs that are duplicate except for the DB and table names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arr = {"big_testdb"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Execute CreatePersonalGDB loop.&lt;/P&gt;&lt;P&gt;for name in arr:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Execute create mdb database&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fullname = out_name + name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CreatePersonalGDB_management(out_folder_path, fullname + mdb)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # works fine. The DB is created. Now on to the tables inside.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; env.workspace = "C:\\output\\" + out_name + name + mdb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.env.workspace = "C:\\output\\" + fullname + mdb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Execute CreateTable INSIDE the mdb&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bigpath =&amp;nbsp; out_folder_path + "\\" + out_name + name + mdb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldPrecision = 9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "got here 2. Create table: " + bigpath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CreateTable_management(bigpath, "Block_" + name, config_keyword)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(fullname, "OBJECTID", "AutoNumber")&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(fullname, "SHAPE", "LONG",fieldPrecision, "", "","","NULLABLE")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(fullname, "id_block", "DOUBLE")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(fullname, "id_mapgrid", "Number")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(fullname, "map_number", "Short Text")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(fullname, "Block", "Short Text")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(fullname, "SHAPE_Length", "Number")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(fullname, "SHAPE_Area", "Number")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(fullname, "created_user", "Short Text")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(fullname, "created_date", "Date/Time")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(fullname, "last_edited_user", "Short Text")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(fullname, "last_edited_date", "Date/Time")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It only creates the table and the field OBJECTID. Nothing else is created. Errors....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "C:\Users\phacker\Documents\PROJECTS\Access PDB\PersonalDB.py", line 61, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(fullname, "OBJECTID", "AutoNumber")&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.4\ArcPy\arcpy\management.py", line 3149, in AddField&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e&lt;/P&gt;&lt;P&gt;ExecuteError: Failed to execute. Parameters are not valid.&lt;/P&gt;&lt;P&gt;ERROR 000732: Input Table: Dataset CountyCode_MapGrid_big_testdb does not exist or is not supported&lt;/P&gt;&lt;P&gt;ERROR 000800: The value is not a member of TEXT | FLOAT | DOUBLE | SHORT | LONG | DATE | BLOB | RASTER | GUID.&lt;/P&gt;&lt;P&gt;Failed to execute (AddField).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 19:50:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274008#M21174</guid>
      <dc:creator>PaulHacker2</dc:creator>
      <dc:date>2016-06-03T19:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274009#M21175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Comment out the add "OBJECTID" field that one is created for you. I see you are also trying to create a shape field which suggests your trying to create a feature class. You will also need to either use the full path of the input table or set the workspace environment.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import os
arcpy.env.workspace = os.path.join(out_folder_path, out_name, name, mdb)&lt;/PRE&gt;&lt;P&gt;Here is the help o creating tables&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/create-table.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/create-table.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Create Table—Help | ArcGIS for Desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is the help on adding fields&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/add-field.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/add-field.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Add Field—Help | ArcGIS for Desktop&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:22:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274009#M21175</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2021-12-11T13:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274010#M21176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. That is what I've been using but.. the fields for each table are different that what the AddFields allow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently they only allow TEXT | FLOAT | DOUBLE | SHORT | LONG | DATE | BLOB | RASTER | GUID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet the users want an &lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;"OLE Object"! We may have to have a compromise!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;And I got the AddFields straitened out! It works but I'll have to see how they want the SHAPE to work (that is the OLE Object) to function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 21:13:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274010#M21176</guid>
      <dc:creator>PaulHacker2</dc:creator>
      <dc:date>2016-06-03T21:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274011#M21177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You seem to be struggling with the fundamental concepts of tables and feature classes in ArcGIS.&amp;nbsp; A feature class is simply a spatially-enabled table (a table with an extra "shape" field).&amp;nbsp; If you want a "shape" field, or one that is a functional shape field, you will need to use the Create Feature Class tool.&amp;nbsp; After you do so, you will notice that the field is of "OLE Object" type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 21:29:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274011#M21177</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-06-03T21:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274012#M21178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I'm trying that now. But is there a way to copy one field from a table (in a DB) to another table in ANOTHER DB? That is we have that OLE object defined in another table already, can it be copied to the table I created using arcpy.CreateTable.management?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 13:46:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274012#M21178</guid>
      <dc:creator>PaulHacker2</dc:creator>
      <dc:date>2016-06-06T13:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274013#M21179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you already have a feature class or shapefile and want to copy it into a different folder or geodatabase, check out the &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/conversion-toolbox/feature-class-to-feature-class.htm"&gt;Feature Class to Feature Class &lt;/A&gt;tool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 13:52:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274013#M21179</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-06-06T13:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274014#M21180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found using ArcMap I can create a&amp;nbsp; field name "SHAPE"&amp;nbsp; with data type "Geometry".&lt;/P&gt;&lt;P&gt;How can I do this with Python? THIS is what I need exactly to get the 'OLE Object' to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used arcpy.AddField_management but no go with:&lt;/P&gt;&lt;P&gt;arcpy.AddField_management(tablename, "SHAPE", "Geometry")&lt;/P&gt;&lt;P&gt;Still gives error ERROR 000800: The value is not a member of TEXT | FLOAT | DOUBLE | SHORT | LONG | DATE | BLOB | RASTER | GUID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another arcpy function for this?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 20:55:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274014#M21180</guid>
      <dc:creator>PaulHacker2</dc:creator>
      <dc:date>2016-06-06T20:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274015#M21181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How exactly are you adding this "SHAPE" field in ArcMap?&amp;nbsp; I suspect my reply will still be &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/create-feature-class.htm"&gt;Create Feature Class&lt;/A&gt; tool. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 21:04:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274015#M21181</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-06-06T21:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274016#M21182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Is there another arcpy function for this?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;No which is why you use copyfeatures or featureclasstofeatureclass or strip the attributes out of a copy of an existing file.&amp;nbsp; This is to slow down people would want to produce geometry outside of what esri intends, much like you can do now with arcpy.da 's numpyarraytofeatureclass.&amp;nbsp; There you can create your own geometry objects but you would have to be working with arrays to begin with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 21:05:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274016#M21182</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-06-06T21:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274017#M21183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, the users use ArcMap to create a mdb with a table and inside that table they create field name SHAPE with Geometry for the datatype. They already have this one database and table. They want ME to (for many many new databases each with several tables) take the SHAPE field name (with Geometry for datatype) and copy it's attributes to the other databases and tables so they all have a SHAPE with Geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a python script that will take the list of names of the databases they want, it's array, and go through each one creating databases with the same names (using arcpy.CreatePersonalGDB_management), then creating tables with the names they specified to be inside each database (arcpy.CreateTable_management), and inside each of the tables use arcpy.AddField_management to make each field... with the exception of the SHAPE field I need to be as Geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And that is where I'm at. I can get each of the fields created, tables created, and PersonalGDB to execute, but adding that one field, for a Geometry datatype, is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 21:25:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274017#M21183</guid>
      <dc:creator>PaulHacker2</dc:creator>
      <dc:date>2016-06-06T21:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274018#M21184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New information. The users use ArcGis 10.1 and they create their mdb using the toolboxs. They create a personal Geodatabase. It seems it somehow creates a SHAPE field with Geography for the field type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Field Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description(optional)&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;OBJECTID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber&lt;/P&gt;&lt;P&gt;SHAPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OLE Object&amp;nbsp; &amp;lt;-- the geography&lt;/P&gt;&lt;P&gt;id_block&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Number&lt;/P&gt;&lt;P&gt;id_mapgrid&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Number&lt;/P&gt;&lt;P&gt;etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now such as id_block they input but the SHAPE and OBJECTID is automatically created.&lt;/P&gt;&lt;P&gt;How was this created? What Python tool was used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already use arrcpy.CreatePersonalGDB_management&amp;nbsp;&amp;nbsp; - to make the new mdb&lt;/P&gt;&lt;P&gt;arcpy.CreateTable_management&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - to create the table&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;arcpy.AddField_management&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - to create the fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But nowhere does the SHAPE field show up. Now I see a CreateFeatureclass_management but how does that make a field in just one table of the mdb?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 19:41:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274018#M21184</guid>
      <dc:creator>PaulHacker2</dc:creator>
      <dc:date>2016-06-07T19:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274019#M21185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how many more ways people can say it, you don't create a spatially-enabled table in either a personal (*.MDB) or file (*.GDB) geodatabase by using Create Tool and Add Field.&amp;nbsp; As you have already found, the proper method to create a spatially-enabled table (one with a SHAPE field) is to use the Create Feature Class tool.&amp;nbsp; The tool does multiple things for you, one it creates a table, and two it adds the spatial field.&amp;nbsp; The result is a new table with a SHAPE field already defined for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In terms of how, specifically, Create Feature Class makes the SHAPE field, the answer is buried in the code of the tool.&amp;nbsp; I think for your purposes, all you need to know is that the tool works and you should be working with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your goal is to create a SHAPE field in a Access table not using Esri tools, the short answer is don't.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 21:47:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274019#M21185</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-06-07T21:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274020#M21186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you take a step back and explain what your actually goal is?&amp;nbsp; I think you are getting confused about just a table vs a featureclass.&amp;nbsp; A table can be just that, a list of fields with data in them.&amp;nbsp; Having a field called shape does not make it into a featureclass in and of itself.&amp;nbsp; Read thru the links that Joshua and Dan sent.&amp;nbsp; If you create a featureclass, ArcGIS (whether thru a toolbox or arcpy) will add the Shape field and will contain the geometry.&amp;nbsp; What geometry is included in the Shape is determined by you input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have a table that contains XY coordinates, you can generate a point featureclass, but you can also import from many other formats (Shape files, coverages, autocad, raster formats, etc) to create a featureclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have a featureclass with geometry and have another table with attributes that you want tohave attached to the features with a common field, use JoinTable_managerment&amp;nbsp; (sorry can't add the direct link...will come back and add).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in anycase, unless there is a business requirement for you having to stay in and mdb personal database...I highly recomend you change to using the file geodatabase instead. Much more reliable and made for ArcGIS instead of relying on Access and it's limits (and version changes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what is you ultimate goal and what are your resources?&amp;nbsp; are they just tables with columns and data or is there some sort of coordinate information or geometry in the tables already.&amp;nbsp; Again, you don't want to add a Shape field and try to create a featureclass that way.&amp;nbsp; what format was it in originally that has the geometry in an "OLE" field?&amp;nbsp; maybe I'm missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit link to join table management for 10.1&amp;nbsp; &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//001700000064000000" title="http://resources.arcgis.com/en/help/main/10.1/index.html#//001700000064000000"&gt;ArcGIS Help 10.1&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 23:23:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274020#M21186</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-06-07T23:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274021#M21187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry gang. Here is the story.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The users use ArcGis to make this to begin with. It ends up with a .mdb database. It already has in the mdb the tables GDB_ColumnInfo, GDB_GeomColumns, GDB_ItemRelationships, GDB_ItemRelationshipTypes,&amp;nbsp; GDB_Items,&amp;nbsp; GDB_Items_Shape_Index, GDB_ItemTypes, GDB_ReplicaLog, GDB_SpatialRefs, as well as the tables they created using Arcgis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In their tables, many of these tables, each with a name as well as a number, and that number corresponds to land tracts, have inside them field names such as OBJECTID (AutoNumber), and SHAPE (OLE Object.. and I know it is supposed to be a polygon), and other fields they have defined with Data Types Number, Short Text, Date/Time..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now while they have done ONE such MDB, they want me to duplicate this maybe 500 times for many other tracts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes many databases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Python and CreateFeatureclass_management&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;CreatePersonalGDB_management/CreateTable_management/AddField_management (which works for everything but the SHAPE field... can't get a POLYGON in it using AddField.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each of the databases will have unique names, and most of the tables will have unique names, and most of the fields will have unique names depending on the tract number!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a txt file with all the tract numbers and I read it in via Python open and 'for line in f.readlines' and an array to hold them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I can do all the renaming easily, it's the SHAPE field that drives me nuts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh, and I am a MVS/CICS/COBOL Mainframer turned Visual Studio/C#/SQL programmer &amp;amp; ArcGIS/Python programmer. And this is my first Python program! Everything works except that SHAPE field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if I can just find some way to use the same CreatePersonalGDB_management/CreateTable_management/AddField_management&amp;nbsp; to make the database and then in the tables slip in a SHAPE that is a polygon, that would do what I need to be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 13:42:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274021#M21187</guid>
      <dc:creator>PaulHacker2</dc:creator>
      <dc:date>2016-06-08T13:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating table inside .mdb database using arcpy.CreateTable_management. I have an access mdb database and I want to use arcpy.CreateTable_management to create a table inside the .mdb. How?</title>
      <link>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274022#M21188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/gdb-architecture/geodatabase-xml.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/gdb-architecture/geodatabase-xml.htm"&gt;Geodatabase XML—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 14:15:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/creating-table-inside-mdb-database-using-arcpy/m-p/274022#M21188</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-06-08T14:15:27Z</dc:date>
    </item>
  </channel>
</rss>

