BookmarkSubscribe
Choose Language Hide Translation Bar
chris_dennis
Community Trekker

How do I name a table script saved to a Journal using comand inside a script?

// current line is

CYT << Save Script for All Objects To Data Table;

SOOC << Save Script to Journal;

Result in journal is "new table"  I want to give it a better name like "my table"

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
chris_dennis
Community Trekker

Re: How do I name a table script saved to a Journal using comand inside a script?

This worked, thanks for the help and suggestions.

View solution in original post

0 Kudos
4 REPLIES 4
Highlighted
Byron_JMP
Staff

Re: How do I name a table script saved to a Journal using comand inside a script?

Chris,

Before saving the script to the table, try renaming the data table.

dt=new table();

dt<<set name("test");

dt<< save script to journal;

Cheers,

Byron

JMP Systems Engineer, Pharm and BioPharm Sciences
chris_dennis
Community Trekker

Re: How do I name a table script saved to a Journal using comand inside a script?

Running the suggestion results in same “New Table”.

Any other suggestions?

Thanks, Chris

0 Kudos
ms
Super User ms
Super User

Re: How do I name a table script saved to a Journal using comand inside a script?

dt = New Table();

dt << save script to journal;

Current Journal()[Button Box( 1 )] << set button name( "My table" );

0 Kudos
chris_dennis
Community Trekker

Re: How do I name a table script saved to a Journal using comand inside a script?

This worked, thanks for the help and suggestions.

View solution in original post

0 Kudos