<?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: Looking for the column number? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Looking-for-the-column-number/m-p/82301#M37110</link>
    <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Yes, I want to change the column names to the SPSS names. How can I do that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an easy klicky-way, using the mouse only? My coding skills in JMP are non existent. (I am using JMP for data-transfer only.)&lt;/P&gt;</description>
    <pubDate>Thu, 01 Nov 2018 19:21:16 GMT</pubDate>
    <dc:creator>thebilly31</dc:creator>
    <dc:date>2018-11-01T19:21:16Z</dc:date>
    <item>
      <title>Looking for the column number?</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-for-the-column-number/m-p/82254#M37094</link>
      <description>&lt;P&gt;Hi there, I am trying to display all the SPSS names of the columns as I can select in the column info (see below).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that possible?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other question: I want to access a specific cell given the specific columnnumber and rownumber. How can I do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14179i23EAB17A4A85F561/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(right-klick on column name&amp;gt;column info)&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 12:10:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-for-the-column-number/m-p/82254#M37094</guid>
      <dc:creator>thebilly31</dc:creator>
      <dc:date>2018-11-01T12:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for the column number?</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-for-the-column-number/m-p/82256#M37095</link>
      <description>&lt;P&gt;I am not quite sure what you asking for when you say you want to be able to&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; "&lt;SPAN&gt;display all the SPSS names&lt;/SPAN&gt;".&lt;/P&gt;
&lt;P&gt;Where do you want to display the names?&amp;nbsp; Do you want to change the column names in the data table to have the SPSS Names?&lt;/P&gt;
&lt;P&gt;On the second question there are a few different ways to access a specific cell in a data table with the column number and row number&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here( 1 );
dt = current data table();

show( dt[ 5, 4] );

show( column( dt, 4 )[5] );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Nov 2018 12:27:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-for-the-column-number/m-p/82256#M37095</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-11-01T12:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for the column number?</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-for-the-column-number/m-p/82301#M37110</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Yes, I want to change the column names to the SPSS names. How can I do that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an easy klicky-way, using the mouse only? My coding skills in JMP are non existent. (I am using JMP for data-transfer only.)&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 19:21:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-for-the-column-number/m-p/82301#M37110</guid>
      <dc:creator>thebilly31</dc:creator>
      <dc:date>2018-11-01T19:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for the column number?</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-for-the-column-number/m-p/82308#M37113</link>
      <description>&lt;P&gt;There is a JMP Preference in the Tables section of the Preferences called "Show Alternate Column Name".&amp;nbsp; When this Preference is selected, the column name will be made up of a concatenation of&amp;nbsp;the SPSS Name and SPSS Label, when the data table is created.&amp;nbsp; But short of that, the only interactive method I am aware of is to go through each column, and copy the value of the SPSS Name, and paste it into the column name.&lt;/P&gt;
&lt;P&gt;However, the following script, will quickly go through each column and change the column name to the value of the SPSS Name, if an SPSS Name exists&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();
For( i = 1, i &amp;lt;= N Cols( dt ), i++,
	If( Is Empty( Column( dt, i ) &amp;lt;&amp;lt; get property( "SPSS Name" ) ) == 0,
		Column( dt, i ) &amp;lt;&amp;lt; set name( Char( Column( dt, i ) &amp;lt;&amp;lt; get property( "SPSS Name" ) ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Nov 2018 20:39:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-for-the-column-number/m-p/82308#M37113</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-11-01T20:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for the column number?</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-for-the-column-number/m-p/82328#M37115</link>
      <description>&lt;P&gt;You're awesome.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you! Really.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 21:18:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-for-the-column-number/m-p/82328#M37115</guid>
      <dc:creator>thebilly31</dc:creator>
      <dc:date>2018-11-01T21:18:15Z</dc:date>
    </item>
  </channel>
</rss>

