<?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 Update name column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Update-name-column/m-p/743495#M92308</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have 2 tables&lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;Pareto_table&lt;/STRONG&gt; with name columns &lt;U&gt;1&lt;/U&gt; and&lt;U&gt; 2&lt;/U&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dennisbur_0-1712089912950.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62991i1B086FF77EE2CC74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dennisbur_0-1712089912950.png" alt="Dennisbur_0-1712089912950.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) the second&lt;U&gt;&lt;STRONG&gt; Date_table&lt;/STRONG&gt;&lt;/U&gt; I have the same numbers &lt;U&gt;1&lt;/U&gt; and &lt;U&gt;2&lt;/U&gt; in column "&lt;STRONG&gt;Rank&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dennisbur_1-1712090002631.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62992i0A28EEEDDBFB7CA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dennisbur_1-1712090002631.png" alt="Dennisbur_1-1712090002631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;my question is,&amp;nbsp; how I can update&amp;nbsp;by the script JSL in &lt;STRONG&gt;Pareto_table&lt;/STRONG&gt; the column &lt;STRONG&gt;&lt;U&gt;1 to value of&amp;nbsp;2024-01-05&lt;/U&gt;&lt;/STRONG&gt; and&amp;nbsp; and &lt;STRONG&gt;&lt;U&gt;2 to value 2024-03-13&lt;/U&gt;&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;in the end it will look like in this table example&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dennisbur_2-1712090120052.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62993i6E6CDEAD445C56B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dennisbur_2-1712090120052.png" alt="Dennisbur_2-1712090120052.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2024 20:40:34 GMT</pubDate>
    <dc:creator>Dennisbur</dc:creator>
    <dc:date>2024-04-02T20:40:34Z</dc:date>
    <item>
      <title>Update name column</title>
      <link>https://community.jmp.com/t5/Discussions/Update-name-column/m-p/743495#M92308</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have 2 tables&lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;Pareto_table&lt;/STRONG&gt; with name columns &lt;U&gt;1&lt;/U&gt; and&lt;U&gt; 2&lt;/U&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dennisbur_0-1712089912950.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62991i1B086FF77EE2CC74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dennisbur_0-1712089912950.png" alt="Dennisbur_0-1712089912950.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) the second&lt;U&gt;&lt;STRONG&gt; Date_table&lt;/STRONG&gt;&lt;/U&gt; I have the same numbers &lt;U&gt;1&lt;/U&gt; and &lt;U&gt;2&lt;/U&gt; in column "&lt;STRONG&gt;Rank&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dennisbur_1-1712090002631.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62992i0A28EEEDDBFB7CA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dennisbur_1-1712090002631.png" alt="Dennisbur_1-1712090002631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;my question is,&amp;nbsp; how I can update&amp;nbsp;by the script JSL in &lt;STRONG&gt;Pareto_table&lt;/STRONG&gt; the column &lt;STRONG&gt;&lt;U&gt;1 to value of&amp;nbsp;2024-01-05&lt;/U&gt;&lt;/STRONG&gt; and&amp;nbsp; and &lt;STRONG&gt;&lt;U&gt;2 to value 2024-03-13&lt;/U&gt;&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;in the end it will look like in this table example&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dennisbur_2-1712090120052.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62993i6E6CDEAD445C56B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dennisbur_2-1712090120052.png" alt="Dennisbur_2-1712090120052.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 20:40:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Update-name-column/m-p/743495#M92308</guid>
      <dc:creator>Dennisbur</dc:creator>
      <dc:date>2024-04-02T20:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Update name column</title>
      <link>https://community.jmp.com/t5/Discussions/Update-name-column/m-p/743536#M92310</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dtPareto = Data Table( "Pareto_table" );
dtDate = Data Table( "Date_table" );

// It appears that your Date column is a character column, 
// not a JMP Date column.  Therefore the following will
// work
For Each Row(
	Try(
		Column( dtPareto, Char( dtDate:Rank ) ) &amp;lt;&amp;lt; set name( dtDate:date )
	)
);

// If the Date column is a JMP Date column the set name() message would
// have to be modified to the time format you want to use for the name
//  something like
//  &amp;lt;&amp;lt; set name( format( dtDate:date, "m/d/y"))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is untested code, but it should work&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 21:11:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Update-name-column/m-p/743536#M92310</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-04-02T21:11:25Z</dc:date>
    </item>
  </channel>
</rss>

