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
penalah
Level II

Prompt for a column/field

Hello everyone, 

I am looking to see a prompt to select or ask the user to enter the text or product etc, and pull the query only related to that data 

Is that possible? If yes, then how?

 

Please guide me. 

 

Thanks in advance 

1 REPLY 1
txnelson
Super User

Re: Prompt for a column/field

  1. I suggest you take the time to read the Scripting Guide, found in the JMP Documentation Library, available under the Help pull down menu.
  2. Here is a simple example of selecting a column in a data table and then adding it to the Graph Builder script.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Col List Box Example 1", << modal,
	clb = Col List Box( all, width( 250 ), maxSelected( 1 ),
	selectedCol = clb << get selected )
);

Graph Builder(
	Size( 525, 448 ),
	Show Control Panel( 0 ),
	Variables( X( eval(selectedCol) ), Y( :height ) ),
	Elements( Box Plot( X, Y, Legend( 4 ) ) )
);
Jim

Recommended Articles