Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
tom_abramov
Level V

Data Table to Table Box

Hello,

I would like to send a data table to my report and close the table.

So, Data Table Box is not good - a table in the report disappears.

Is there some quick way to create simple not linked Table Box from Data table?

 

Thank you,

Tom.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Data Table to Table Box

Sending the Get As Report message to the data table will return a TableBox of the data table without any links to the original table.

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );

nw = New Window( "Big Class",
	dt << Get As Report()
);

Close( dt, NoSave );
Justin

View solution in original post

4 REPLIES 4
Highlighted
Tina
Level III

Re: Data Table to Table Box

Hi Tom,

if you are working with a journal you could try

 

Current Data Table() << Journal;

 

to print it to the journal and to close it afterwards: 

 

Close(dt,NoSave);

 

Best,

Tina

Highlighted

Re: Data Table to Table Box

Sending the Get As Report message to the data table will return a TableBox of the data table without any links to the original table.

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );

nw = New Window( "Big Class",
	dt << Get As Report()
);

Close( dt, NoSave );
Justin

View solution in original post

Highlighted
tom_abramov
Level V

Re: Data Table to Table Box

Thank you,

Exactly what I need.

Highlighted
johnmoore
Level IV

Re: Data Table to Table Box

Justin,

This is exactly what I need. Many thanks!

John
Article Labels

    There are no labels assigned to this post.