cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
New to using JMP? Hit the ground running with the Early User Edition of Discovery Summit. Register now, free of charge.
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
%3CLINGO-SUB%20id%3D%22lingo-sub-775547%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%85%B3%E9%97%AD%E4%B8%8D%E5%8F%AF%E8%A7%81%E5%88%B6%E8%A1%A8%E7%AA%97%E5%8F%A3%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775547%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%20Tabulate%20%E6%B1%87%E6%80%BB%E8%84%9A%E6%9C%AC%E4%B8%AD%E7%9A%84%E4%B8%80%E4%BA%9B%E6%95%B0%E6%8D%AE%EF%BC%8C%E7%84%B6%E5%90%8E%E5%B0%86%E7%BB%93%E6%9E%9C%E4%BF%9D%E5%AD%98%E5%88%B0%E8%A1%A8%E4%B8%AD%E3%80%82%E6%88%91%E4%BD%BF%E7%94%A8%E4%BA%86%E2%80%9C%E4%B8%8D%E5%8F%AF%E8%A7%81%E2%80%9D%E5%B1%9E%E6%80%A7%EF%BC%88%E5%91%BD%E4%BB%A4%E6%88%96%E5%85%B6%E4%BB%96%EF%BC%89%EF%BC%8C%E5%9B%A0%E6%AD%A4%E7%9C%8B%E4%B8%8D%E5%88%B0%E4%B8%AD%E9%97%B4%E7%9A%84%20Tabulate%20%E7%AA%97%E5%8F%A3%E3%80%82%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E7%84%B6%E8%80%8C%EF%BC%8C%E5%BD%93%E6%88%91%E8%BF%90%E8%A1%8C%E8%84%9A%E6%9C%AC%E6%97%B6%EF%BC%8C%E6%88%91%E6%9C%80%E7%BB%88%E5%BE%97%E5%88%B0%E4%BA%86%E4%B8%80%E5%A0%86%E4%B8%8D%E5%8F%AF%E8%A7%81%E7%9A%84%20Tabulate%20%E7%AA%97%E5%8F%A3%EF%BC%8C%E5%AE%83%E4%BB%AC%E4%B8%8D%E6%96%AD%E7%B4%AF%E7%A7%AF%E3%80%82%E8%A7%81%E4%B8%8B%E5%9B%BE...%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22scott1588_0-1721974972551.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22scott1588_0-1721974972551.png%22%20style%3D%22width%3A%20387px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22scott1588_0-1721974972551.png%22%20style%3D%22width%3A%20387px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22scott1588_0-1721974972551.png%22%20style%3D%22width%3A%20387px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F66511i2F799FDCEE9CE8BE%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22scott1588_0-1721974972551.png%22%20alt%3D%22scott1588_0-1721974972551.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E6%88%91%E5%B0%9D%E8%AF%95%E4%BA%86%20dtab%20%26lt%3B%26lt%3B%20Close%EF%BC%8C%E4%BD%86%E6%98%AF%E5%AE%83%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8%E3%80%82%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E6%9C%89%E4%BA%BA%E8%83%BD%E5%91%8A%E8%AF%89%E6%88%91%E5%A6%82%E4%BD%95%E5%85%B3%E9%97%AD%E4%B8%8D%E5%8F%AF%E8%A7%81%E7%9A%84%20Tabulate%20%E7%AA%97%E5%8F%A3%E5%90%97%EF%BC%9F%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E9%80%90%E6%AD%A5%E5%AD%A6%E4%B9%A0%20JSL%20%E7%9A%84%E6%9D%A5%E9%BE%99%E5%8E%BB%E8%84%89%EF%BC%8C%E9%9D%9E%E5%B8%B8%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E5%B8%AE%E5%8A%A9%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-775547%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%E8%87%AA%E5%8A%A8%E5%8C%96%E5%92%8C%E8%84%9A%E6%9C%AC%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-775557%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%85%B3%E9%97%AD%E4%B8%8D%E5%8F%AF%E8%A7%81%E7%9A%84%E5%88%B6%E8%A1%A8%E7%AA%97%E5%8F%A3%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775557%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%B0%9D%E8%AF%95%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edtab%20%26lt%3B%26lt%3B%20Close%20Window%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%E4%BE%8B%E5%AD%90%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%0Adt%20%3D%20Open(%22%24SAMPLE_DATA%2FCar%20Poll.jmp%22)%3B%0Aobj%20%3D%20dt%20%26lt%3B%26lt%3B%20Tabulate(%0A%09Add%20Table(%0A%09%09Column%20Table(Grouping%20Columns(%3Asex%2C%20%3Amarital%20status))%2C%0A%09%09Row%20Table(Grouping%20Columns(%3Acountry%2C%20%3Asize))%0A%09)%0A)%3B%0A%0Await(1)%3B%0Aobj%20%26lt%3B%26lt%3B%20close%20window%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-775843%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%85%B3%E9%97%AD%E4%B8%8D%E5%8F%AF%E8%A7%81%E7%9A%84%E5%88%B6%E8%A1%A8%E7%AA%97%E5%8F%A3%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775843%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%95%8A%E5%95%8A%E3%80%82%E6%88%91%E4%B8%8D%E7%9F%A5%E9%81%93%E6%88%91%E6%80%8E%E4%B9%88%E4%BC%9A%E9%94%99%E8%BF%87%E8%BF%99%E4%B8%AA%E3%80%82%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%E5%86%8D%E6%AC%A1%E6%84%9F%E8%B0%A2%EF%BC%8CJarmo%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
scott1588
Level IV

Close Invisible Tabulate Window

I am using Tabulate to summarize some data in a script and then saving the result to a table. I use the "invisible" property (command or whatever it is) so I don't see the intermediate Tabulate window.

 

However, I end up with a bunch of invisible Tabulate windows that accumulate as I run through the script. See image below...

 

scott1588_0-1721974972551.png

 

 

I tried dtab << Close but it doesn't work.

 

Can someone tell me how to close an invisible Tabulate window?

 

Thanks much as always for help as I am gradually learning the ins and outs of JSL.

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Close Invisible Tabulate Window

Try

dtab << Close Window;

Example

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Car Poll.jmp");
obj = dt << Tabulate(
	Add Table(
		Column Table(Grouping Columns(:sex, :marital status)),
		Row Table(Grouping Columns(:country, :size))
	)
);

wait(1);
obj << close window;
-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: Close Invisible Tabulate Window

Try

dtab << Close Window;

Example

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Car Poll.jmp");
obj = dt << Tabulate(
	Add Table(
		Column Table(Grouping Columns(:sex, :marital status)),
		Row Table(Grouping Columns(:country, :size))
	)
);

wait(1);
obj << close window;
-Jarmo
scott1588
Level IV

Re: Close Invisible Tabulate Window

Aaargh. I don't know how I missed that one.

 

Thanks again, Jarmo