cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
View Original Published Thread

Data Table to Table Box

tom_abramov
Level V

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


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


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
tom_abramov
Level V


Re: Data Table to Table Box

Thank you,

Exactly what I need.

johnmoore
Level IV


Re: Data Table to Table Box

Justin,

This is exactly what I need. Many thanks!

John