This version of the Help is no longer updated. See JMP.com/help for the latest version.

.
Scripting Guide > Data Tables > Advanced Data Table Scripting > Select Columns in a Data Table
Publication date: 07/30/2020

Select Columns in a Data Table

To select one or more columns, send the Select Columns message to the data table.

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
clist = {:Height, :Weight};
dt << Select Columns( clist );

To select all columns, send the Select Columns message with the All argument to the data table.

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Select Columns( all );
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).