<?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 Query Builder, Select 100 to 200 records, populate, and save during Edit Session in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291018#M22535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is there a way through Python or VBA code to select 100 to 200 records, populate new field,&amp;nbsp; and save during edit session?&lt;/P&gt;&lt;P&gt;I am working in a SDE. When I try to populate 2500 records, it crashes. No error message. I have about 3 GIS techs doing edits when I am trying to populate my records. Not sure if that will impact my session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 16:37:27 GMT</pubDate>
    <dc:creator>JamesFitzgerald</dc:creator>
    <dc:date>2015-03-17T16:37:27Z</dc:date>
    <item>
      <title>Query Builder, Select 100 to 200 records, populate, and save during Edit Session</title>
      <link>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291018#M22535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is there a way through Python or VBA code to select 100 to 200 records, populate new field,&amp;nbsp; and save during edit session?&lt;/P&gt;&lt;P&gt;I am working in a SDE. When I try to populate 2500 records, it crashes. No error message. I have about 3 GIS techs doing edits when I am trying to populate my records. Not sure if that will impact my session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 16:37:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291018#M22535</guid>
      <dc:creator>JamesFitzgerald</dc:creator>
      <dc:date>2015-03-17T16:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Query Builder, Select 100 to 200 records, populate, and save during Edit Session</title>
      <link>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291019#M22536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using versions? What is your method/criteria for selecting the records?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 16:39:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291019#M22536</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2015-03-17T16:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Query Builder, Select 100 to 200 records, populate, and save during Edit Session</title>
      <link>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291020#M22537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using arcMap 10.1. I right click on the field I want to update, select field calculator, I select in the list box which attribute column header I want to use to populate the field. Once I click okay. It takes a few seconds, then crashes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---No error&lt;/P&gt;&lt;P&gt;----I have about 5 editing when I am editing-Could this be the problem?&lt;/P&gt;&lt;P&gt;---Also If I select 100-200 records, then it populates. This has worked before, but now I have thousands of records to update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 16:57:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291020#M22537</guid>
      <dc:creator>JamesFitzgerald</dc:creator>
      <dc:date>2015-03-17T16:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Query Builder, Select 100 to 200 records, populate, and save during Edit Session</title>
      <link>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291021#M22538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are editing the same record on the same version as someone else, there is conflicting data. I don't know why ArcMap would just crash, but I can see that there is potentially a problem here. Can you try doing this without anyone else editing or create a new version to do your edits in?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used calculate field in ArcMap on thousands of records without issue; it just took a bit to process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 17:05:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291021#M22538</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2015-03-17T17:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Query Builder, Select 100 to 200 records, populate, and save during Edit Session</title>
      <link>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291022#M22539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try it after everyone leaves for the day. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 17:19:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291022#M22539</guid>
      <dc:creator>JamesFitzgerald</dc:creator>
      <dc:date>2015-03-17T17:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Query Builder, Select 100 to 200 records, populate, and save during Edit Session</title>
      <link>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291023#M22540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So is everyone editing on the same version? You can test it now by just creating a new version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 17:27:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291023#M22540</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2015-03-17T17:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Query Builder, Select 100 to 200 records, populate, and save during Edit Session</title>
      <link>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291024#M22541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It is the same version. Tried a new version but still crashed and difficult to update thousands of records. I had wait until all GIS techs left for the day. Eventually worked by updating about 100 records at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 17:54:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291024#M22541</guid>
      <dc:creator>JamesFitzgerald</dc:creator>
      <dc:date>2015-04-02T17:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Query Builder, Select 100 to 200 records, populate, and save during Edit Session</title>
      <link>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291025#M22542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad you got it working. Is there a database trigger set up on any of the tables? That could slow down the processing with lots of activity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also try scripting your process with Python (like you originally mentioned) using &lt;A href="http://resources.arcgis.com/en/help/main/10.1/0017/00170000004m000000.htm"&gt;Calculate Field&lt;/A&gt;. Python might be able to power through because there is no UI (ArcMap) involved. Still might have to wait for everyone to stop editing the version though. May also be worth investigating using different versions for everyone; that's what they're there for. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 18:39:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/query-builder-select-100-to-200-records-populate/m-p/291025#M22542</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2015-04-02T18:39:17Z</dc:date>
    </item>
  </channel>
</rss>

