<?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: SelectLayerByAttribute into personal or file database in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/selectlayerbyattribute-into-personal-or-file/m-p/1289467#M4424</link>
    <description>&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;Think you may have marked the wrong reply as the solution, but I'm glad to hear that it's all working for you now as you hoped &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; happy to help out!&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2023 05:24:21 GMT</pubDate>
    <dc:creator>JoshuaSharp-Heward</dc:creator>
    <dc:date>2023-05-16T05:24:21Z</dc:date>
    <item>
      <title>SelectLayerByAttribute into personal or file database</title>
      <link>https://community.esri.com/t5/arcmap-questions/selectlayerbyattribute-into-personal-or-file/m-p/1288031#M4414</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have successfully used the&amp;nbsp;arcpy.SelectLayerByAttribute_management function, and sent the results to a shapefile using the following code:&lt;/P&gt;&lt;P&gt;arcpy.SelectLayerByAttribute_management(fc + "_new", 'NEW_SELECTION', SetQuery)&lt;BR /&gt;# Write the selected features to a new featureclass to the&lt;BR /&gt;# defined "out_path"&lt;BR /&gt;outfc = os.path.join(out_path, fc + "_Edited")&lt;BR /&gt;arcpy.CopyFeatures_management(fc + "_new", outfc)&lt;/P&gt;&lt;P&gt;What do I need to do if I want to send the results into a created personal or file database using the following code?&lt;/P&gt;&lt;P&gt;arcpy.management.CreateFileGDB(out_path, "NewForestGIS.gdb")&lt;/P&gt;&lt;P&gt;Thank You for your help&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 04:31:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/selectlayerbyattribute-into-personal-or-file/m-p/1288031#M4414</guid>
      <dc:creator>JeffHouser</dc:creator>
      <dc:date>2023-05-11T04:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: SelectLayerByAttribute into personal or file database</title>
      <link>https://community.esri.com/t5/arcmap-questions/selectlayerbyattribute-into-personal-or-file/m-p/1288037#M4415</link>
      <description>&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;I think it should just work as is if you replace the out_path in your "outfc" line with the path to the new geodatabase (including the name of the geodatabase NewForestGIS.gdb). I'm pretty sure CopyFeatures defaults to outputting as a shapefile if it's writing to a folder and a feature class if it's writing to a geodatabase.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 05:23:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/selectlayerbyattribute-into-personal-or-file/m-p/1288037#M4415</guid>
      <dc:creator>JoshuaSharp-Heward</dc:creator>
      <dc:date>2023-05-11T05:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: SelectLayerByAttribute into personal or file database</title>
      <link>https://community.esri.com/t5/arcmap-questions/selectlayerbyattribute-into-personal-or-file/m-p/1289146#M4420</link>
      <description>&lt;P&gt;Hello Joshua,&lt;/P&gt;&lt;P&gt;Thank you so much for your reply with information how to create a featureclass in a personal or filedatabase.&amp;nbsp; Using your suggestion, I did spend a couple of hours with the program last Thursday (I only work Mon-Thurs).&amp;nbsp; I was not successful.&amp;nbsp; Your solution must be correct, I just a need a little more time with the code and see why its not working.&amp;nbsp; Once I get the code to work, I will update "accept as solution".&amp;nbsp; Sorry for the delay.&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 14:10:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/selectlayerbyattribute-into-personal-or-file/m-p/1289146#M4420</guid>
      <dc:creator>JeffHouser</dc:creator>
      <dc:date>2023-05-15T14:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: SelectLayerByAttribute into personal or file database</title>
      <link>https://community.esri.com/t5/arcmap-questions/selectlayerbyattribute-into-personal-or-file/m-p/1289292#M4421</link>
      <description>&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;Feel free to post your code and what's going wrong and I can review it for you!&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 19:13:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/selectlayerbyattribute-into-personal-or-file/m-p/1289292#M4421</guid>
      <dc:creator>JoshuaSharp-Heward</dc:creator>
      <dc:date>2023-05-15T19:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: SelectLayerByAttribute into personal or file database</title>
      <link>https://community.esri.com/t5/arcmap-questions/selectlayerbyattribute-into-personal-or-file/m-p/1289466#M4423</link>
      <description>&lt;P&gt;Hello Joshua,&amp;nbsp; I tried a couple of times, and it still failed.&amp;nbsp; On the third attempt, with your suggested change, it worked &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&amp;nbsp; Hurray!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You Joshua.&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 05:11:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/selectlayerbyattribute-into-personal-or-file/m-p/1289466#M4423</guid>
      <dc:creator>JeffHouser</dc:creator>
      <dc:date>2023-05-16T05:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: SelectLayerByAttribute into personal or file database</title>
      <link>https://community.esri.com/t5/arcmap-questions/selectlayerbyattribute-into-personal-or-file/m-p/1289467#M4424</link>
      <description>&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;Think you may have marked the wrong reply as the solution, but I'm glad to hear that it's all working for you now as you hoped &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; happy to help out!&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 05:24:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/selectlayerbyattribute-into-personal-or-file/m-p/1289467#M4424</guid>
      <dc:creator>JoshuaSharp-Heward</dc:creator>
      <dc:date>2023-05-16T05:24:21Z</dc:date>
    </item>
  </channel>
</rss>

