Hello,
I was wondering if you could help me with this JMP Alert message I get when I run the following jsl:
//select the data in the original data table
Names Default To Here( 1 );
dt = Current Data Table();
//column names
//part 1. ask user for column names in a new window nw1
//possible Group column name (should be character)
groupby_col_names = dt << Get Column names(character, String);
//possible result column name (should be numeric)
numeric_col_names = dt << Get Column names(Numeric, String);
nw1 = New Window("Generate an EAC Table",
<<MODAL></MODAL>

When I press "OK" it runs the code, and when I "X" or "Cancel", the code is not run. So, the program is as intended.
But how can I get this JMP Alert to go away?
Remove
nw1 << close window;
from the "OK" button (window will be closed automatically as it is modal window).
Usually when I do comparison with modal windows, I tend to use << return result and then check for window_ref["Button"] != 1