<?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 Modelbuilder: Calculating value on added field in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculating-value-on-added-field/m-p/811234#M135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a county level database of population statistics and am creating a model that will add a new field to the database, pop_density (population density). After adding the new field, I want the model to calculate the population density by dividing population by area. Both population and area already exist in my database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I insert the Calculate Field tool and specify as the input for Calculate Field the output file from the Add Field tool. When I go to input the expression for pop_density in Calculate Field, it only shows me the Pop-Density field I just added, and it does not show me any of the pre-existing fields in my database. How do I use the Calculate Field tool when one of the variables in the calculation formula does not exist until the model has been run?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2012 20:29:41 GMT</pubDate>
    <dc:creator>JohnWarden</dc:creator>
    <dc:date>2012-05-29T20:29:41Z</dc:date>
    <item>
      <title>Modelbuilder: Calculating value on added field</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculating-value-on-added-field/m-p/811234#M135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a county level database of population statistics and am creating a model that will add a new field to the database, pop_density (population density). After adding the new field, I want the model to calculate the population density by dividing population by area. Both population and area already exist in my database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I insert the Calculate Field tool and specify as the input for Calculate Field the output file from the Add Field tool. When I go to input the expression for pop_density in Calculate Field, it only shows me the Pop-Density field I just added, and it does not show me any of the pre-existing fields in my database. How do I use the Calculate Field tool when one of the variables in the calculation formula does not exist until the model has been run?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 20:29:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculating-value-on-added-field/m-p/811234#M135</guid>
      <dc:creator>JohnWarden</dc:creator>
      <dc:date>2012-05-29T20:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Modelbuilder: Calculating value on added field</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculating-value-on-added-field/m-p/811235#M136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Those fields should be there. First try saving and closing your model, them re-opening it. Next, check if you have done any previous operations that might have removed them, such as Buffer? If so, you may need to perform a join to get your original fields back.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 21:12:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/modelbuilder-calculating-value-on-added-field/m-p/811235#M136</guid>
      <dc:creator>EadieKaltenbacher</dc:creator>
      <dc:date>2012-05-29T21:12:36Z</dc:date>
    </item>
  </channel>
</rss>

