<?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: how to pass single table row values in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-pass-single-table-row-values/m-p/2323666#M93464</link>
    <description>&lt;P&gt;Use tMemorizeRows.&amp;nbsp; The example in the documentation is very similar to what you need:&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/mjoDghHoMPI0yuyZ83a13Q/0oEBI6YCTFXSgc5Z9Gpr6Q" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://help.talend.com/reader/mjoDghHoMPI0yuyZ83a13Q/0oEBI6YCTFXSgc5Z9Gpr6Q&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you set 'Row count to memorize' to 2, you can reference the current row as index 0 and the last row as index 1.&amp;nbsp; In your tJavaRow component, you can compute the difference:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;int latDifference = &lt;SPAN&gt;object_Lattitude_tMemorizeRows_1[0] - object_Lattitude_tMemorizeRows_1[1];&lt;BR /&gt;int lonDifference = object_longitude_tMemorizeRows_1[0] - object_longitude_tMemorizeRows_1[1];&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2019 05:25:29 GMT</pubDate>
    <dc:creator>nfz11</dc:creator>
    <dc:date>2019-07-09T05:25:29Z</dc:date>
    <item>
      <title>how to pass single table row values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-pass-single-table-row-values/m-p/2323664#M93462</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;in my scenario&lt;/P&gt;&lt;P&gt;i want to find difference between row 1 and row 2 then 2 and 3 and so on.&lt;/P&gt;&lt;P&gt;my table type is ..&lt;/P&gt;&lt;P&gt;id, object_Lattitude, object_longitude&lt;/P&gt;&lt;P&gt;1, 41.273,-72.236&lt;/P&gt;&lt;P&gt;2,1, 41.277,-72.236&lt;/P&gt;&lt;P&gt;3,1, 41.252,-72.236&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i use this components to find difference between&lt;/P&gt;&lt;P&gt;tDbinput --.&amp;gt; tjavarow--&amp;gt;tDboutput, i also write routines&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tJavarow--&amp;gt;&amp;nbsp;&lt;SPAN&gt;latA, longA, latB &amp;amp; longB&amp;nbsp; and&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ques:- i want to pass 1st row data as&amp;nbsp;&amp;nbsp;latA, longA, 2nd row data as&amp;nbsp;latB &amp;amp; longB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;regards ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 17:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-pass-single-table-row-values/m-p/2323664#M93462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-08T17:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass single table row values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-pass-single-table-row-values/m-p/2323665#M93463</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Could you please refer the below post which is having solution to similar query?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCsFWCA0" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/How-to-get-previous-row-tuple-s-value-without-using-Custom-Code/td-p/121465&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You may have to make minor changes to suit your specific use case.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 04:48:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-pass-single-table-row-values/m-p/2323665#M93463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-09T04:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass single table row values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-pass-single-table-row-values/m-p/2323666#M93464</link>
      <description>&lt;P&gt;Use tMemorizeRows.&amp;nbsp; The example in the documentation is very similar to what you need:&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/mjoDghHoMPI0yuyZ83a13Q/0oEBI6YCTFXSgc5Z9Gpr6Q" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://help.talend.com/reader/mjoDghHoMPI0yuyZ83a13Q/0oEBI6YCTFXSgc5Z9Gpr6Q&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you set 'Row count to memorize' to 2, you can reference the current row as index 0 and the last row as index 1.&amp;nbsp; In your tJavaRow component, you can compute the difference:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;int latDifference = &lt;SPAN&gt;object_Lattitude_tMemorizeRows_1[0] - object_Lattitude_tMemorizeRows_1[1];&lt;BR /&gt;int lonDifference = object_longitude_tMemorizeRows_1[0] - object_longitude_tMemorizeRows_1[1];&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 05:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-pass-single-table-row-values/m-p/2323666#M93464</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2019-07-09T05:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass single table row values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-pass-single-table-row-values/m-p/2323667#M93465</link>
      <description>&lt;P&gt;thanks &lt;SPAN&gt;&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;sir for help, the solution is working !!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 15:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-pass-single-table-row-values/m-p/2323667#M93465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-09T15:22:00Z</dc:date>
    </item>
  </channel>
</rss>

