cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
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

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