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%3EClose%20Invisible%20Tabulate%20Window%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775547%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20using%20Tabulate%20to%20summarize%20some%20data%20in%20a%20script%20and%20then%20saving%20the%20result%20to%20a%20table.%20I%20use%20the%20%22invisible%22%20property%20(command%20or%20whatever%20it%20is)%20so%20I%20don't%20see%20the%20intermediate%20Tabulate%20window.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20I%20end%20up%20with%20a%20bunch%20of%20invisible%20Tabulate%20windows%20that%20accumulate%20as%20I%20run%20through%20the%20script.%20See%20image%20below...%3C%2FP%3E%3CP%3E%26nbsp%3B%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%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20dtab%20%26lt%3B%26lt%3B%20Close%20but%20it%20doesn't%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20someone%20tell%20me%20how%20to%20close%20an%20invisible%20Tabulate%20window%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20much%20as%20always%20for%20help%20as%20I%20am%20gradually%20learning%20the%20ins%20and%20outs%20of%20JSL.%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%3EAutomation%20and%20Scripting%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%3ERe%3A%20Close%20Invisible%20Tabulate%20Window%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775557%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ETry%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%3EExample%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%3ERe%3A%20Close%20Invisible%20Tabulate%20Window%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-775843%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAaargh.%20I%20don't%20know%20how%20I%20missed%20that%20one.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20again%2C%20Jarmo%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