For the latest version of JMP Help, visit JMP.com/help.

Publication date: 09/28/2021

Close a Data Table

To close a data table, use a Close command with the data table’s reference as the argument. Data tables with unsaved changes are saved automatically, including any linked tables. Reports and graphs generated from the data tables are also closed.

To save and close the data table:

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Close( dt );

To close the data table without saving changes:

Close( dt, No Save );

To save a copy with a new name and then close the original version:

Close( dt, Save("c:/My File.jmp" ) );

You can also close all data tables at once and either save or discard changes:

Close All( Data Tables );
Close All( Data Tables, No Save );

To close all private or invisible data tables, specify the appropriate argument:

Close All( Data Tables, private );
Close All( Data Tables, invisible );

Tip: Close All() also works with journals. Specify “Journals” in the argument.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).