cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lala
Level IX

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 XIII

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****/

Recommended Articles