<?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 Calculate one field based on another in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/calculate-one-field-based-on-another/m-p/666087#M51719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a personal geodatabase with 2 fields. They both have domains set up to ease the editing process for my users. If my &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WaterType field is set as "Not Irrigated" (or code 4) then I need my IrrigType to be set as "Not Irrigated" (code 0). I'm not sure if I &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;want to use the description or the code from the domains?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Next I need to calculate acres from my area field. I use !shape.area@acres! and it runs in 10.2 but not in 10.0. Is there a better way? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, I would also like to set this up so that it runs onClcik...so that my users don't have to run the scripts in calculate field every time they digitize a polygon. Is an add-in the best way for this? I don't seem to be able to load the correct version to use it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for helping me make this geodatabase more user friendly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Oct 2013 14:56:22 GMT</pubDate>
    <dc:creator>BethHoobler</dc:creator>
    <dc:date>2013-10-31T14:56:22Z</dc:date>
    <item>
      <title>Calculate one field based on another</title>
      <link>https://community.esri.com/t5/python-questions/calculate-one-field-based-on-another/m-p/666087#M51719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a personal geodatabase with 2 fields. They both have domains set up to ease the editing process for my users. If my &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WaterType field is set as "Not Irrigated" (or code 4) then I need my IrrigType to be set as "Not Irrigated" (code 0). I'm not sure if I &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;want to use the description or the code from the domains?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Next I need to calculate acres from my area field. I use !shape.area@acres! and it runs in 10.2 but not in 10.0. Is there a better way? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, I would also like to set this up so that it runs onClcik...so that my users don't have to run the scripts in calculate field every time they digitize a polygon. Is an add-in the best way for this? I don't seem to be able to load the correct version to use it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for helping me make this geodatabase more user friendly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 14:56:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-one-field-based-on-another/m-p/666087#M51719</guid>
      <dc:creator>BethHoobler</dc:creator>
      <dc:date>2013-10-31T14:56:22Z</dc:date>
    </item>
  </channel>
</rss>

