<?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: Passing value(s) to a repeat from a previous repeat in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-s-to-a-repeat-from-a-previous-repeat/m-p/1099762#M37305</link>
    <description>&lt;P&gt;Hi Chris&lt;/P&gt;&lt;P&gt;I think you were on the right track - see if the attached example works for you.&lt;/P&gt;&lt;P&gt;Basically, in the next repeat record I calculated the start date to be that of the previous record using the indexed-repeat functoin:&lt;/P&gt;&lt;P&gt;indexed-repeat(${end_date_time_b}, ${behaviour_records}, position(..)-1)&lt;/P&gt;</description>
    <pubDate>Mon, 20 Sep 2021 06:51:33 GMT</pubDate>
    <dc:creator>DeonLengton</dc:creator>
    <dc:date>2021-09-20T06:51:33Z</dc:date>
    <item>
      <title>Passing value(s) to a repeat from a previous repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-s-to-a-repeat-from-a-previous-repeat/m-p/1099619#M37295</link>
      <description>&lt;P&gt;I am working on a survey where I need to pass a value from one question in a repeat to the following repeat. Here's a better description:&lt;/P&gt;&lt;P&gt;1. when the survey is opened, the start time is passed to start and end times the repeat.&lt;/P&gt;&lt;P&gt;2. The biologist records the behavior, its behavior start and end times&lt;/P&gt;&lt;P&gt;3. When a new row in the repeat is added, I need the end time of the previous repeat to be passed to the start and end times of new row.&lt;/P&gt;&lt;P&gt;I have tried writing and rewriting the code and keep getting Dependency Cycles.I have also tried the indexed-repeat function with no success.&lt;/P&gt;&lt;P&gt;I have included my latest spreadsheet for review.&lt;/P&gt;&lt;P&gt;I know copying/pasting rows in repeats is in the development queue. Has there been any progress on this?&lt;/P&gt;&lt;P&gt;Any help you can provide is greatly appreciated.&lt;/P&gt;&lt;P&gt;Chris Anderson&lt;/P&gt;</description>
      <pubDate>Sat, 18 Sep 2021 15:12:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-s-to-a-repeat-from-a-previous-repeat/m-p/1099619#M37295</guid>
      <dc:creator>Agilityzen</dc:creator>
      <dc:date>2021-09-18T15:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Passing value(s) to a repeat from a previous repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-s-to-a-repeat-from-a-previous-repeat/m-p/1099762#M37305</link>
      <description>&lt;P&gt;Hi Chris&lt;/P&gt;&lt;P&gt;I think you were on the right track - see if the attached example works for you.&lt;/P&gt;&lt;P&gt;Basically, in the next repeat record I calculated the start date to be that of the previous record using the indexed-repeat functoin:&lt;/P&gt;&lt;P&gt;indexed-repeat(${end_date_time_b}, ${behaviour_records}, position(..)-1)&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 06:51:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/passing-value-s-to-a-repeat-from-a-previous-repeat/m-p/1099762#M37305</guid>
      <dc:creator>DeonLengton</dc:creator>
      <dc:date>2021-09-20T06:51:33Z</dc:date>
    </item>
  </channel>
</rss>

