cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
lala
Level VIII

How can I save a JMP table in JMP 18 without leaving a record in the file list?

The same code is not recorded in JMP17.

Thanks! 

 

dt = Open( "$SAMPLE_DATA/Big Class.jmp", Add to Recent Files( 0 ) );
dt << Select Where( Row() < 21 );
d3 = dt << Subset( Output Table( "AA" ), Selected Rows( 1 ), selected columns( 0 ) );
Try( d3 << Delete Table Property( "Source" ) );
Try( d3 << Delete Table Property( "Source" ) );
d3 << Save( "c:\test.jmp" );
Close( dt, nosave );
Close( d3, nosave );

2024-11-06_16-30-56.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How can I save a JMP table in JMP 18 without leaving a record in the file list?

In case the data tables are invisible - at least for me they then do not show up in my recent files list when saving them

 

dt = Open( "$SAMPLE_DATA/Big Class.jmp", Add to Recent Files( 0 ) , invisible);
dt << Select Where( Row() < 21 );
d3 = dt << Subset( Output Table( "AA" ), Selected Rows( 1 ), selected columns( 0 ) , invisible);
Try( d3 << Delete Table Property( "Source" ) );
Try( d3 << Delete Table Property( "Source" ) );
d3 << Save( ".\test.jmp" );
Close( dt, nosave );
Close( d3, nosave );
/****NeverStopLearning****/

View solution in original post

2 REPLIES 2
hogi
Level XII

Re: How can I save a JMP table in JMP 18 without leaving a record in the file list?

thanks for the trick with Add to Recent Files(0). 
Nice trick : )

I just noticed the
preferences("Add files opened by scripts to the Recent Files list")

 

For save, I hope somebody will provide a solution ...

Re: How can I save a JMP table in JMP 18 without leaving a record in the file list?

In case the data tables are invisible - at least for me they then do not show up in my recent files list when saving them

 

dt = Open( "$SAMPLE_DATA/Big Class.jmp", Add to Recent Files( 0 ) , invisible);
dt << Select Where( Row() < 21 );
d3 = dt << Subset( Output Table( "AA" ), Selected Rows( 1 ), selected columns( 0 ) , invisible);
Try( d3 << Delete Table Property( "Source" ) );
Try( d3 << Delete Table Property( "Source" ) );
d3 << Save( ".\test.jmp" );
Close( dt, nosave );
Close( d3, nosave );
/****NeverStopLearning****/