cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
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