Choose two columns from two different tablesHi,
I like to choose two columns from two different tables (data table dt1, and dt2) and I ran the below script and it lists the varaibles names for data table dt1 only. Is there an issue with my script? I appreciate your help.
xvar = .;
yvar = .;
win = New Window( "Choose Two More Variables for Matching",
<<MODAL></MODAL>
Re: Choose two columns from two different tablesThanks. It works.
Re: Choose two columns from two different tablesThe Scripting Index and teh JSL Syntax reference shows the proper syntax to be
Col List Box(<Data Table ("name" )>, <"all"|"character"|"numeric">, ....). See a modification of your script, using the Data Table( ) syntax seems to work. However, you cannot use these in one analysis or platform call unless the columns are in the same table or a the two tables are virtually linked.
dt1 = Open("$sample_data/big class.jmp");
dt2 = open("$sample_data/big class families.jmp");
xvar = .;
yvar = .;
win = New Window( "Choose Two More Variables for Matching",
<<MODAL></MODAL>