<?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: Can't change focus to Current Data Table in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5595#M5594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;dt&lt;/EM&gt; is not supposed to change here. The table variable &lt;EM&gt;dt&lt;/EM&gt; still linked to the original table because you have not reassigned it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the code you assign the summary table to the table variable &lt;EM&gt;summary_table_name&lt;/EM&gt; (you can use almost any name). To sort that table use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;summary_table_name&amp;lt;&amp;lt; sort(...);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;If you want to make jmp to forget &lt;EM&gt;dt&lt;/EM&gt; and reuse that name for the summary table, try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;dt = dt &amp;lt;&amp;lt; summary(...)&lt;/EM&gt; ;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that's not wise if you'll need to address the original table later in the script. Look&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2012 12:31:15 GMT</pubDate>
    <dc:creator>ms</dc:creator>
    <dc:date>2012-09-07T12:31:15Z</dc:date>
    <item>
      <title>Can't change focus to Current Data Table</title>
      <link>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5592#M5591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created a summary table and now I'd like to manipulate the Summary Table and create a graph from it.....&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2462_Logfile.jpg" style="width: 814px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/76i75AC6DFA5F5DB5BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2462_Logfile.jpg" alt="2462_Logfile.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can't seem to get the 'Current Data Table' command to work..... (see screenshot above)....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 20:00:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5592#M5591</guid>
      <dc:creator>twaintwist</dc:creator>
      <dc:date>2016-10-18T20:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can't change focus to Current Data Table</title>
      <link>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5593#M5592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;consider using the following syntax to give a handle to your summary table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;summary_table_name=dt&amp;lt;&amp;lt;Summary(Group(:SORTonTHIS));&lt;/P&gt;&lt;P&gt;dt&amp;lt;&amp;lt;Sort(By(:N Row), Order(Descending));&lt;/P&gt;&lt;P&gt;summary_table_name&amp;lt;&amp;lt;Graph Builder(...);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 01:03:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5593#M5592</guid>
      <dc:creator>wiebepo</dc:creator>
      <dc:date>2012-09-07T01:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can't change focus to Current Data Table</title>
      <link>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5594#M5593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wiebepo --- thanks ----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still is not switching to the Summary Table ---- it remains with the original datatable (which is called 'Script_temp') ---- you can see from the debug screen that 'dt' is still showing the original table and not the summary table after executing:&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&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; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px; background-color: #ffffff;"&gt;summary_table_name=dt&amp;lt;&amp;lt;Summary(Group(:SORTonTHIS));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2463_Debug.jpg" style="width: 934px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/77iA3CD54BD6904EFC1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2463_Debug.jpg" alt="2463_Debug.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 20:01:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5594#M5593</guid>
      <dc:creator>twaintwist</dc:creator>
      <dc:date>2016-10-18T20:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can't change focus to Current Data Table</title>
      <link>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5595#M5594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;dt&lt;/EM&gt; is not supposed to change here. The table variable &lt;EM&gt;dt&lt;/EM&gt; still linked to the original table because you have not reassigned it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the code you assign the summary table to the table variable &lt;EM&gt;summary_table_name&lt;/EM&gt; (you can use almost any name). To sort that table use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;summary_table_name&amp;lt;&amp;lt; sort(...);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;If you want to make jmp to forget &lt;EM&gt;dt&lt;/EM&gt; and reuse that name for the summary table, try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;dt = dt &amp;lt;&amp;lt; summary(...)&lt;/EM&gt; ;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that's not wise if you'll need to address the original table later in the script. Look&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 12:31:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5595#M5594</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2012-09-07T12:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can't change focus to Current Data Table</title>
      <link>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5596#M5595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ---- Obviously I was confused --- thanks for clearing that up for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 13:24:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5596#M5595</guid>
      <dc:creator>twaintwist</dc:creator>
      <dc:date>2012-09-07T13:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can't change focus to Current Data Table</title>
      <link>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5597#M5596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm still having problems understanding what I can and can't do with a separate dataTable....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Summary table I've successfully created two new columns, populated another with data and now I'm&amp;nbsp; trying to concatenate two columns on the Summary table called 'ParetoTable'...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ParetoTable &amp;lt;&amp;lt; For each Row(:ProductProblemCategory_=:Order || :ProductProblemCategory);&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing happens --- see log screenshot ------ but occasionally I get an error in the log saying that 'ProductProblemCategory_' is not an L-value...etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2464_Foreach.jpg" style="width: 814px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/78i6C53D0EC00CAFEBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2464_Foreach.jpg" alt="2464_Foreach.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 20:01:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5597#M5596</guid>
      <dc:creator>twaintwist</dc:creator>
      <dc:date>2016-10-18T20:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can't change focus to Current Data Table</title>
      <link>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5598#M5597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think &lt;EM&gt;For Each Row()&lt;/EM&gt; can be used as a message in the JSL syntax. Think of it as a function that applies to the current data table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try either to first make sure that PeretoTable is the current data table and then the row-wise concat:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #2800e1;"&gt;&lt;SPAN style="color: #000000;"&gt;ParetoTable&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt;current data table&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;()&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #2800e1;"&gt;for each row&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;ProblemProductCategory_ &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #160091;"&gt;:&lt;/SPAN&gt;Order&lt;SPAN style="color: #160091;"&gt;||:&lt;/SPAN&gt;ProblemProductCategory&lt;STRONG&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or use the dt:col syntax to explicitly address the columns:&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #2800e1;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #2800e1;"&gt;for each row&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;ParetoTable&lt;SPAN style="color: #160091;"&gt;:&lt;/SPAN&gt;ProblemProductCategory_ &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; ParetoTable&lt;SPAN style="color: #160091;"&gt;:&lt;/SPAN&gt;Order&lt;SPAN style="color: #160091;"&gt;||&lt;/SPAN&gt;ParetoTable&lt;SPAN style="color: #160091;"&gt;:&lt;/SPAN&gt;ProblemProductCategory&lt;STRONG&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 08:59:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5598#M5597</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2012-09-10T08:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can't change focus to Current Data Table</title>
      <link>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5599#M5598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MS --- thanks ---- they both worked....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 15:08:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-t-change-focus-to-Current-Data-Table/m-p/5599#M5598</guid>
      <dc:creator>twaintwist</dc:creator>
      <dc:date>2012-09-10T15:08:05Z</dc:date>
    </item>
  </channel>
</rss>

