<?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 Get the title from a number col box in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Get-the-title-from-a-number-col-box/m-p/471483#M71600</link>
    <description>&lt;P&gt;Okay so just starting to dive into Tree navigation and I have this simple script that I'm experimenting with:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);

dt=current data table();

//this is a partition analysis
actobj=Current Report()[outlinebox(1)]&amp;lt;&amp;lt;get scriptable object;

actobjrpt=actobj&amp;lt;&amp;lt;report;

//this links to the Logworth value from the first split
actobjtable = actobjrpt[numbercolbox( 7 )][1];&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So I can get the value of the Logworth but I also want to get the title from the numbercolbox which is "Logworth".&amp;nbsp; So far I can't figure it out.&amp;nbsp; Thanks for any suggestions!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 18:13:47 GMT</pubDate>
    <dc:creator>shampton82</dc:creator>
    <dc:date>2023-06-09T18:13:47Z</dc:date>
    <item>
      <title>Get the title from a number col box</title>
      <link>https://community.jmp.com/t5/Discussions/Get-the-title-from-a-number-col-box/m-p/471483#M71600</link>
      <description>&lt;P&gt;Okay so just starting to dive into Tree navigation and I have this simple script that I'm experimenting with:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);

dt=current data table();

//this is a partition analysis
actobj=Current Report()[outlinebox(1)]&amp;lt;&amp;lt;get scriptable object;

actobjrpt=actobj&amp;lt;&amp;lt;report;

//this links to the Logworth value from the first split
actobjtable = actobjrpt[numbercolbox( 7 )][1];&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So I can get the value of the Logworth but I also want to get the title from the numbercolbox which is "Logworth".&amp;nbsp; So far I can't figure it out.&amp;nbsp; Thanks for any suggestions!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 18:13:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Get-the-title-from-a-number-col-box/m-p/471483#M71600</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2023-06-09T18:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get the title from a number col box</title>
      <link>https://community.jmp.com/t5/Discussions/Get-the-title-from-a-number-col-box/m-p/471502#M71601</link>
      <description>&lt;P&gt;Here is one way to get what you want&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);

// Open Data Table: big class.jmp
// → Data Table( "big class" )
dt = Open( "/C:/Program Files/SAS/JMPPRO/14/Samples/Data/big class.jmp" );

Partition(
	Y( :height ),
	X( :age, :sex, :weight ),
	Informative Missing( 1 ),
	Initial Splits( :weight &amp;lt; 81, {}, {:age == {12, 13}} ),
	SendToReport(
		Dispatch( {}, "Partition Report", FrameBox, {Frame Size( 480, 62 )} )
	)
);

//this is a partition analysis
actobjrpt=Current Report();

actobjrpt=actobj&amp;lt;&amp;lt;report;

//this links to the Logworth value from the first split
actobjtable = (actobjrpt[numbercolbox( 7 )]&amp;lt;&amp;lt;get)[1];

// get the header
theHeader = actobjtable = actobjrpt[numbercolbox( 7 )]&amp;lt;&amp;lt;get heading;

show(actobjtable, theHeader);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 20 Mar 2022 21:40:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Get-the-title-from-a-number-col-box/m-p/471502#M71601</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-03-20T21:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get the title from a number col box</title>
      <link>https://community.jmp.com/t5/Discussions/Get-the-title-from-a-number-col-box/m-p/471504#M71602</link>
      <description>&lt;P&gt;see if the &amp;lt;&amp;lt;GetHeading message is the one you need.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Scripting index example for Get Heading." style="width: 992px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40986iE85025ADF5965BC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Scripting index example for Get Heading." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Scripting index example for Get Heading.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 21:45:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Get-the-title-from-a-number-col-box/m-p/471504#M71602</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-03-20T21:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get the title from a number col box</title>
      <link>https://community.jmp.com/t5/Discussions/Get-the-title-from-a-number-col-box/m-p/471505#M71603</link>
      <description>&lt;P&gt;I was so close! I tried "Get" and "Get Title" then gave up and came here as there are a million get commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the quick rely!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 21:49:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Get-the-title-from-a-number-col-box/m-p/471505#M71603</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2022-03-20T21:49:10Z</dc:date>
    </item>
  </channel>
</rss>

