<?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: What can be loaded into a record set? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/what-can-be-loaded-into-a-record-set/m-p/269181#M20738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;did you try the append function?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Append_management()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ciao&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Dec 2010 17:03:37 GMT</pubDate>
    <dc:creator>AlessandroCinnirella</dc:creator>
    <dc:date>2010-12-16T17:03:37Z</dc:date>
    <item>
      <title>What can be loaded into a record set?</title>
      <link>https://community.esri.com/t5/python-questions/what-can-be-loaded-into-a-record-set/m-p/269180#M20737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can make a record set from a feature class in catalog, but cant seem to use the RecordSet class in python. The help for the class says that the load property can "Import a feature class into the RecordSet object." Trying to do this in python returns the error "Cannot load a feature class into a RecordSet." Any ideas? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;recordset=arcpy.RecordSet(r'\\Bay-gis\GIS Staff\Parcel_Processor.gdb\Target_Data\parcels_loaded')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;recordset=arcpy.RecordSet()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;recordset.load(r'\\Bay-gis\GIS Staff\Parcel_Processor.gdb\Target_Data\parcels_loaded')&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 12:00:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-can-be-loaded-into-a-record-set/m-p/269180#M20737</guid>
      <dc:creator>ChrisMathers</dc:creator>
      <dc:date>2010-12-16T12:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: What can be loaded into a record set?</title>
      <link>https://community.esri.com/t5/python-questions/what-can-be-loaded-into-a-record-set/m-p/269181#M20738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;did you try the append function?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Append_management()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ciao&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 17:03:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-can-be-loaded-into-a-record-set/m-p/269181#M20738</guid>
      <dc:creator>AlessandroCinnirella</dc:creator>
      <dc:date>2010-12-16T17:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: What can be loaded into a record set?</title>
      <link>https://community.esri.com/t5/python-questions/what-can-be-loaded-into-a-record-set/m-p/269182#M20739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've searched the help and can't find where you reference that you should be able to import a featureclass into a recordset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However - I agree you should be able to do this. Like you said, you can do it in ModelBuilder from ArcMap. Also as a note, I dont think this is an arcpy issue, its probably been like this back since the time of import arcgisscripting (gp.RecordSet)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just logged the bug - Sorry I cant post the Nim as I'm heading on holidays and dont have time to wait for it to export &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; (it is in the system though)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, as a work around you should be able to do an arcpy.CopyRows(..... "in_memory\table")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And then do your record set from that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It isn't great, but should keep you moving on your workflow.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Dec 2010 20:36:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/what-can-be-loaded-into-a-record-set/m-p/269182#M20739</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2010-12-17T20:36:11Z</dc:date>
    </item>
  </channel>
</rss>

