cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.

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