<?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 field in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field/m-p/1054567#M40601</link>
    <description>&lt;P&gt;is there a way to calculate a field in a table from data in another table in SQL database?&lt;/P&gt;&lt;P&gt;the case is I have two tables in a database both have the same IDs, so I want to fill a column in one table from the a column in the other table.&lt;/P&gt;&lt;P&gt;i tried to write a code but it did not work as I'm still a beginner in coding.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if Charts_Limits['SURVEY_ID_REF'] == Survey_Limit_Polygon['SURVEY_ID_REF']:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Charts_Limits['Survey_Type_Updated'].append(Survey_Limit_Polygon['Survey_Type_Updated'])&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 May 2021 09:32:29 GMT</pubDate>
    <dc:creator>MohammedElsayed</dc:creator>
    <dc:date>2021-05-05T09:32:29Z</dc:date>
    <item>
      <title>calculate field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field/m-p/1054567#M40601</link>
      <description>&lt;P&gt;is there a way to calculate a field in a table from data in another table in SQL database?&lt;/P&gt;&lt;P&gt;the case is I have two tables in a database both have the same IDs, so I want to fill a column in one table from the a column in the other table.&lt;/P&gt;&lt;P&gt;i tried to write a code but it did not work as I'm still a beginner in coding.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if Charts_Limits['SURVEY_ID_REF'] == Survey_Limit_Polygon['SURVEY_ID_REF']:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Charts_Limits['Survey_Type_Updated'].append(Survey_Limit_Polygon['Survey_Type_Updated'])&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 09:32:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field/m-p/1054567#M40601</guid>
      <dc:creator>MohammedElsayed</dc:creator>
      <dc:date>2021-05-05T09:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: calculate field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field/m-p/1054575#M40602</link>
      <description>&lt;P&gt;Temporarily join the tables and calculate your field in the target table using the field in the join table.&amp;nbsp; When done, remove the join.&lt;/P&gt;&lt;P&gt;As a note, if you are trying to update values in the target table, you can always make a query/selection prior to doing the calculation.&amp;nbsp; Field calculations are only done on selected records&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 11:05:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field/m-p/1054575#M40602</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-05-05T11:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: calculate field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field/m-p/1055341#M40657</link>
      <description>&lt;P&gt;Can you put the two features into a relationship?&lt;/P&gt;&lt;P&gt;This SQL code works in a definition query for features in a relationship.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Table2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Table2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Table2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ORIGINFIELD IN (SELECT DESTINATIONFIELD FROM &amp;lt;RELATED NAME&amp;gt; where &amp;lt;FIELDNAME&amp;gt; &amp;lt;QUERY&amp;gt;)&lt;/P&gt;&lt;P&gt;I use it to show only points in a Dashboard that have an attachment associated with it.&amp;nbsp; It may work with a SQL query for Labels.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 18:06:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field/m-p/1055341#M40657</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2021-05-06T18:06:05Z</dc:date>
    </item>
  </channel>
</rss>

