Hello,
I have successfully used the arcpy.SelectLayerByAttribute_management function, and sent the results to a shapefile using the following code:
arcpy.SelectLayerByAttribute_management(fc + "_new", 'NEW_SELECTION', SetQuery)
# Write the selected features to a new featureclass to the
# defined "out_path"
outfc = os.path.join(out_path, fc + "_Edited")
arcpy.CopyFeatures_management(fc + "_new", outfc)
What do I need to do if I want to send the results into a created personal or file database using the following code?
arcpy.management.CreateFileGDB(out_path, "NewForestGIS.gdb")
Thank You for your help
-Jeff