cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
mystylelife19
Level III

How to change value in specific columns using scripts

Hello community, i'm new to this JMP. Asking for help for those who know on how to change all value in 1 columns?

I already make the script to rename the columns but how to change also on value depend on text box?

:WAFER_ID << Set Name( "PROBE" );

User_Input = New Window( "JMP AUTOMATION", << modal(),
	hlistbox(
		Text Box( "Enter Probe ID:" ),
		ID_Probe = Text Edit Box( "", <<set width( 200 ) ),
	),
	Button Box( "OK", 
		ID_Probe = ID_Probe << get text();
	),
);

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How to change value in specific columns using scripts

Here is one way to do it

Names Default To Here( 1 );
:WAFER_ID << Set Name( "PROBE" );

User_Input = New Window( "JMP AUTOMATION",
	<<modal(),
	H List Box( Text Box( "Enter Probe ID:" ), ID_Probe = Text Edit Box( "", <<set width( 200 ) ), ),
	Button Box( "OK",
		ID_ProbeVal = ID_Probe << get text();
		If( ID_ProbeVal != "",
			Current Data Table():Probe << set each value( ID_ProbeVal )
		);
	),

);
Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: How to change value in specific columns using scripts

Here is one way to do it

Names Default To Here( 1 );
:WAFER_ID << Set Name( "PROBE" );

User_Input = New Window( "JMP AUTOMATION",
	<<modal(),
	H List Box( Text Box( "Enter Probe ID:" ), ID_Probe = Text Edit Box( "", <<set width( 200 ) ), ),
	Button Box( "OK",
		ID_ProbeVal = ID_Probe << get text();
		If( ID_ProbeVal != "",
			Current Data Table():Probe << set each value( ID_ProbeVal )
		);
	),

);
Jim
mystylelife19
Level III

Re: How to change value in specific columns using scripts

OMG, thanks so much sir. It works