发布日期: 04/13/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.

需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).