cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
GregP
Level I

Sauvegarde multiple

Bonjour, 

j'aimerai savoir si il existe une commande de script permettant d'enregistrer plusieurs tables de données ouvertes (sous leur nom actuel en .jmp) dans un même fichier. Par exemple j'ai 3 fichiers tables ouvertes xxxx1, xxxx2,xxxx3 et je voudrait enregistrer ce 3  sur mon bureau. Est ce possible?

 

Merci de votre aide

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Sauvegarde multiple

The Save message is what is used.

obj << Save( <filepath> );

Here is an example

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Save( "$temp\deleteme Big Class.jmp" ); 

You will need to specify a separate Save for each data table.

The Scripting Index is a good source for the syntax of how to handle items such as this.  The Scripting Index is available under the Help pull down menu.

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: Sauvegarde multiple

The Save message is what is used.

obj << Save( <filepath> );

Here is an example

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Save( "$temp\deleteme Big Class.jmp" ); 

You will need to specify a separate Save for each data table.

The Scripting Index is a good source for the syntax of how to handle items such as this.  The Scripting Index is available under the Help pull down menu.

Jim