- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Prompt for a column/field
- I suggest you take the time to read the Scripting Guide, found in the JMP Documentation Library, available under the Help pull down menu.
- 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