<?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 Using a variable to select a field in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/using-a-variable-to-select-a-field/m-p/1174055#M55178</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;How are field names stored as variables? I thought it was just text but I think I'm missing something.&lt;/P&gt;&lt;P&gt;I'm trying to calculate a field ('Flow') in a table, where the data already exists in one of F1, F2, F3,... FN fields in the table. There's another field (destination) that I want to use to point to the right F field. So:&lt;/P&gt;&lt;P&gt;Flow = $feature[Concatenate('F', Text($feature[destination]))]&lt;/P&gt;&lt;P&gt;So $feature[destination] should point to the right 'F' field to use. But it says there's no 'F3' field for example, but if I go&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flow = $feature['F3']&lt;/P&gt;&lt;P&gt;then it works. I also found that even&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flow = $feature[Concatenate('F', Text(3))]&lt;/P&gt;&lt;P&gt;doesn't work (no such field as 'F3'). What am I misunderstanding about field names? Why is 'F3' a valid field but Concatenate('F', '3') isn't?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2022 01:33:58 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2022-05-16T01:33:58Z</dc:date>
    <item>
      <title>Using a variable to select a field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-a-variable-to-select-a-field/m-p/1174055#M55178</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;How are field names stored as variables? I thought it was just text but I think I'm missing something.&lt;/P&gt;&lt;P&gt;I'm trying to calculate a field ('Flow') in a table, where the data already exists in one of F1, F2, F3,... FN fields in the table. There's another field (destination) that I want to use to point to the right F field. So:&lt;/P&gt;&lt;P&gt;Flow = $feature[Concatenate('F', Text($feature[destination]))]&lt;/P&gt;&lt;P&gt;So $feature[destination] should point to the right 'F' field to use. But it says there's no 'F3' field for example, but if I go&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flow = $feature['F3']&lt;/P&gt;&lt;P&gt;then it works. I also found that even&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flow = $feature[Concatenate('F', Text(3))]&lt;/P&gt;&lt;P&gt;doesn't work (no such field as 'F3'). What am I misunderstanding about field names? Why is 'F3' a valid field but Concatenate('F', '3') isn't?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 01:33:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-a-variable-to-select-a-field/m-p/1174055#M55178</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-05-16T01:33:58Z</dc:date>
    </item>
  </channel>
</rss>

