cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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 :)

Recommended Articles