<?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 Re: Pull records from related table based on value in main table in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pull-records-from-related-table-based-on-value-in/m-p/1302165#M50187</link>
    <description>&lt;P&gt;Hmm, I'm not entirely sure, but maybe you need the repeat tag added before the repeat field? So, something like what you have in your first table, but just in that cell? Something like ${#employees}${employee_name}?&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 18:34:59 GMT</pubDate>
    <dc:creator>PetronilaMandeno</dc:creator>
    <dc:date>2023-06-22T18:34:59Z</dc:date>
    <item>
      <title>Pull records from related table based on value in main table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pull-records-from-related-table-based-on-value-in/m-p/1301970#M50173</link>
      <description>&lt;P&gt;I used Survey 123 Connect Version 3.18.123 to create a survey. When I view the feature layer, I have the main table and another table that is part of the layer (related I think) for employees which is a repeat ( I am new to this so I apologize if I am not describing this well).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have generated a summary report. Everything works, but one of my fields. I am trying to pull records from the employee table based on information from the main table. No matter what I try I receive an error.&lt;/P&gt;&lt;P&gt;Basically, if an employee (or two or three) attend a specific event (the events are in the main table). I want to be able to "query" the event type(main table), order by event date(main table), and pull the employees from the employee table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached my Excel&amp;nbsp; for the Survey 123 Connect, the Summary Report, and a screenshot of my layer in Portal (layer plus the employee table) below. Please look at the Business VSQG section of the report&amp;nbsp; as I have not formatted the rest completely yet. It is the "employee" column (highlighted) that I cannot get to work.&lt;/P&gt;&lt;P&gt;It produces an error:&amp;nbsp;&lt;SPAN&gt;Error: An error occurred when checking the report template. Failed to parse &lt;/SPAN&gt;&lt;I&gt;${employee_name}&lt;/I&gt;&lt;SPAN&gt; since &lt;/SPAN&gt;&lt;I&gt;employee_name&lt;/I&gt;&lt;SPAN&gt; cannot be found in the current parsing scope.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The error makes sense to me;however, I do not know the correct syntax. I've been spinning my wheels for two days now. I appreciate any guidance as I am in a time crunch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 13:31:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pull-records-from-related-table-based-on-value-in/m-p/1301970#M50173</guid>
      <dc:creator>GordonCourtney</dc:creator>
      <dc:date>2023-06-22T13:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pull records from related table based on value in main table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pull-records-from-related-table-based-on-value-in/m-p/1302165#M50187</link>
      <description>&lt;P&gt;Hmm, I'm not entirely sure, but maybe you need the repeat tag added before the repeat field? So, something like what you have in your first table, but just in that cell? Something like ${#employees}${employee_name}?&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 18:34:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pull-records-from-related-table-based-on-value-in/m-p/1302165#M50187</guid>
      <dc:creator>PetronilaMandeno</dc:creator>
      <dc:date>2023-06-22T18:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pull records from related table based on value in main table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pull-records-from-related-table-based-on-value-in/m-p/1302167#M50188</link>
      <description>&lt;P&gt;Thank you. I had this and it pulled every employee for every event; not just the one event I wanted it to. I want it to pull the employee by event type. I appreciate your reply, though!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 18:38:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pull-records-from-related-table-based-on-value-in/m-p/1302167#M50188</guid>
      <dc:creator>GordonCourtney</dc:creator>
      <dc:date>2023-06-22T18:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pull records from related table based on value in main table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pull-records-from-related-table-based-on-value-in/m-p/1302172#M50190</link>
      <description>&lt;P&gt;That's odd. Hmm, could you use the position field to filter out what you need?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 18:45:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pull-records-from-related-table-based-on-value-in/m-p/1302172#M50190</guid>
      <dc:creator>PetronilaMandeno</dc:creator>
      <dc:date>2023-06-22T18:45:37Z</dc:date>
    </item>
  </channel>
</rss>

