cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-809768%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECome%20posso%20salvare%20una%20tabella%20JMP%20in%20JMP%2018%20senza%20lasciare%20alcun%20record%20nell'elenco%20dei%20file%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-809768%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ELo%20stesso%20codice%20non%20%C3%A8%20registrato%20in%20JMP17.%3C%2FP%3E%3CP%3EGrazie!%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%3D%20Open(%20%22%24SAMPLE_DATA%2FBig%20Class.jmp%22%2C%20Add%20to%20Recent%20Files(%200%20)%20)%3B%0Adt%20%26lt%3B%26lt%3B%20Select%20Where(%20Row()%20%26lt%3B%2021%20)%3B%0Ad3%20%3D%20dt%20%26lt%3B%26lt%3B%20Subset(%20Output%20Table(%20%22AA%22%20)%2C%20Selected%20Rows(%201%20)%2C%20selected%20columns(%200%20)%20)%3B%0ATry(%20d3%20%26lt%3B%26lt%3B%20Delete%20Table%20Property(%20%22Source%22%20)%20)%3B%0ATry(%20d3%20%26lt%3B%26lt%3B%20Delete%20Table%20Property(%20%22Source%22%20)%20)%3B%0Ad3%20%26lt%3B%26lt%3B%20Save(%20%22c%3A%5Ctest.jmp%22%20)%3B%0AClose(%20dt%2C%20nosave%20)%3B%0AClose(%20d3%2C%20nosave%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222024-11-06_16-30-56.png%22%20style%3D%22width%3A%20649px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222024-11-06_16-30-56.png%22%20style%3D%22width%3A%20649px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222024-11-06_16-30-56.png%22%20style%3D%22width%3A%20649px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F69887iCA7A03F009D547F9%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222024-11-06_16-30-56.png%22%20alt%3D%222024-11-06_16-30-56.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-809768%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAutomazione%20e%20scripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFinestre%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-809774%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ER%3A%20Come%20posso%20salvare%20una%20tabella%20JMP%20in%20JMP%2018%20senza%20lasciare%20un%20record%20nell'elenco%20dei%20file%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-809774%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Egrazie%20per%20il%20trucco%20con%20%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3EAggiungi%20ai%20file%20recenti(0).%3C%2FFONT%3E%3CBR%20%2F%3E%20Bel%20trucco%20%3A%20)%3CBR%20%2F%3E%3CBR%20%2F%3E%20Ho%20appena%20notato%20il%3CBR%20%2F%3E%20%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3Epreferenze(%22Aggiungi%20i%20file%20aperti%20dagli%20script%20all'elenco%20dei%20file%20recenti%22)%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3EPer%20il%20resto%2C%20spero%20che%20qualcuno%20mi%20dia%20una%20soluzione...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-813473%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ER%3A%20Come%20posso%20salvare%20una%20tabella%20JMP%20in%20JMP%2018%20senza%20lasciare%20un%20record%20nell'elenco%20dei%20file%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-813473%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ENel%20caso%20in%20cui%20le%20tabelle%20dati%20siano%20invisibili%2C%20almeno%20per%20me%2C%20non%20vengono%20visualizzate%20nell'elenco%20dei%20file%20recenti%20quando%20li%20salvo%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%3D%20Open(%20%22%24SAMPLE_DATA%2FBig%20Class.jmp%22%2C%20Add%20to%20Recent%20Files(%200%20)%20%2C%20invisible)%3B%0Adt%20%26lt%3B%26lt%3B%20Select%20Where(%20Row()%20%26lt%3B%2021%20)%3B%0Ad3%20%3D%20dt%20%26lt%3B%26lt%3B%20Subset(%20Output%20Table(%20%22AA%22%20)%2C%20Selected%20Rows(%201%20)%2C%20selected%20columns(%200%20)%20%2C%20invisible)%3B%0ATry(%20d3%20%26lt%3B%26lt%3B%20Delete%20Table%20Property(%20%22Source%22%20)%20)%3B%0ATry(%20d3%20%26lt%3B%26lt%3B%20Delete%20Table%20Property(%20%22Source%22%20)%20)%3B%0Ad3%20%26lt%3B%26lt%3B%20Save(%20%22.%5Ctest.jmp%22%20)%3B%0AClose(%20dt%2C%20nosave%20)%3B%0AClose(%20d3%2C%20nosave%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
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