Get the title from a number col boxOkay so just starting to dive into Tree navigation and I have this simple script that I'm experimenting with:
names default to here(1);
dt=current data table();
//this is a partition analysis
actobj=Current Report()[outlinebox(1)]<<GET scriptable="" object=""></GET>
So I can get the value of the Logworth but I also want to get the title from the numbercolbox which is "Logworth". So far I can't figure it out. Thanks for any suggestions!
Steve
Advanced Statistical ModelingAutomation and ScriptingMass CustomizationRe: Get the title from a number col boxI was so close! I tried "Get" and "Get Title" then gave up and came here as there are a million get commands.
Thanks for the quick rely!
Steve
Re: Get the title from a number col boxsee if the <
Scripting index example for Get Heading.Scripting index example for Get Heading.Scripting index example for Get Heading.Scripting index example for Get Heading.
Re: Get the title from a number col boxHere is one way to get what you want
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 < 81, {}, {:age == {12, 13}} ),
SendToReport(
Dispatch( {}, "Partition Report", FrameBox, {Frame Size( 480, 62 )} )
)
);
//this is a partition analysis
actobjrpt=Current Report();
actobjrpt=actobj<<REPORT></REPORT>