clm42

What can be loaded into a record set?

Discussion created by clm42 on Dec 16, 2010
Latest reply on Dec 17, 2010 by khibma-esristaff
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?

I have tried:
recordset=arcpy.RecordSet(r'\\Bay-gis\GIS Staff\Parcel_Processor.gdb\Target_Data\parcels_loaded')
and
recordset=arcpy.RecordSet()
recordset.load(r'\\Bay-gis\GIS Staff\Parcel_Processor.gdb\Target_Data\parcels_loaded')

Outcomes