<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Any way to close all tables EXCEPT the table of interest? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Any-way-to-close-all-tables-EXCEPT-the-table-of-interest/m-p/258601#M50794</link>
    <description>Worked like a charm!</description>
    <pubDate>Fri, 17 Apr 2020 05:12:53 GMT</pubDate>
    <dc:creator>Roselle_Grant</dc:creator>
    <dc:date>2020-04-17T05:12:53Z</dc:date>
    <item>
      <title>Any way to close all tables EXCEPT the table of interest?</title>
      <link>https://community.jmp.com/t5/Discussions/Any-way-to-close-all-tables-EXCEPT-the-table-of-interest/m-p/1646#M1646</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;Is there any way to close all the tables open in the JMP except the table of interest? &lt;BR /&gt;&lt;BR /&gt;I tried using the close all(Data tables) command and it closes all of them. Also I don't want to individually close every table because I have several tables open. &lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 09 Apr 2010 15:50:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Any-way-to-close-all-tables-EXCEPT-the-table-of-interest/m-p/1646#M1646</guid>
      <dc:creator />
      <dc:date>2010-04-09T15:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to close all tables EXCEPT the table of interest?</title>
      <link>https://community.jmp.com/t5/Discussions/Any-way-to-close-all-tables-EXCEPT-the-table-of-interest/m-p/1647#M1647</link>
      <description>You can go through each open table using a For loop from N Table()to 1, looking at Data Table(i) &amp;lt;&amp;lt; Get Name, to compare each name to the one you want to keep open. Either leave it open if it's the keeper, or close it without saving if it's not. You need to go backwards in the loop because of the way JMP numbers the tables. Let me know if I've got that mixed up ... the idea is sound though.</description>
      <pubDate>Fri, 09 Apr 2010 17:30:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Any-way-to-close-all-tables-EXCEPT-the-table-of-interest/m-p/1647#M1647</guid>
      <dc:creator>mpb</dc:creator>
      <dc:date>2010-04-09T17:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to close all tables EXCEPT the table of interest?</title>
      <link>https://community.jmp.com/t5/Discussions/Any-way-to-close-all-tables-EXCEPT-the-table-of-interest/m-p/46073#M26268</link>
      <description>&lt;P&gt;Here's a function that will do exactly what mpb says (and it works):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;CloseAllDataTablesExcept = Function({FunctionDataTable},
	FunctionName = FunctionDataTable &amp;lt;&amp;lt; Get Name;
	For(i=NTable(), i&amp;gt;0, i--,
		If(DataTable(i)&amp;lt;&amp;lt;GetName != FunctionName,
			Close(DataTable(i), nosave)
		)
	);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Oct 2017 12:21:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Any-way-to-close-all-tables-EXCEPT-the-table-of-interest/m-p/46073#M26268</guid>
      <dc:creator>nacka</dc:creator>
      <dc:date>2017-10-18T12:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to close all tables EXCEPT the table of interest?</title>
      <link>https://community.jmp.com/t5/Discussions/Any-way-to-close-all-tables-EXCEPT-the-table-of-interest/m-p/46111#M26284</link>
      <description>&lt;PRE class=" language-jsl"&gt;&lt;CODE class="  language-jsl"&gt;DontClose &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"Test1"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"Result"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;   &lt;SPAN class="token comment"&gt;// Example names of tables you want to leave&lt;/SPAN&gt;

&lt;SPAN class="token comment"&gt;// Loop backwards through the list, so the table numbers do not change&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;For&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; i &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;N Table&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; i &lt;SPAN class="token operator"&gt;&amp;gt;=&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;0&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; i&lt;SPAN class="token operator"&gt;--&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; 
	&lt;SPAN class="token function"&gt;If&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Contains&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; DontClose&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Data Table&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; i &lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;&amp;lt;&lt;/SPAN&gt; get name &lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;
		&lt;SPAN class="token function"&gt;Continue&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;
		&lt;SPAN class="token function"&gt;Close&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Data Table&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; i &lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"No Save"&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
	&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/JSL-How-to-close-data-tables-after-analysis/m-p/36739#M21649" target="_blank"&gt;https://community.jmp.com/t5/Discussions/JSL-How-to-close-data-tables-after-analysis/m-p/36739#M21649&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Exact same question . Another way to script it . The post above also addresses this question&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 21:29:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Any-way-to-close-all-tables-EXCEPT-the-table-of-interest/m-p/46111#M26284</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2017-10-18T21:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to close all tables EXCEPT the table of interest?</title>
      <link>https://community.jmp.com/t5/Discussions/Any-way-to-close-all-tables-EXCEPT-the-table-of-interest/m-p/258601#M50794</link>
      <description>Worked like a charm!</description>
      <pubDate>Fri, 17 Apr 2020 05:12:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Any-way-to-close-all-tables-EXCEPT-the-table-of-interest/m-p/258601#M50794</guid>
      <dc:creator>Roselle_Grant</dc:creator>
      <dc:date>2020-04-17T05:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to close all tables EXCEPT the table of interest?</title>
      <link>https://community.jmp.com/t5/Discussions/Any-way-to-close-all-tables-EXCEPT-the-table-of-interest/m-p/925119#M108313</link>
      <description>&lt;P&gt;via right click:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1768944373276.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/91641i1CB71CDDA2C95230/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1768944373276.png" alt="hogi_0-1768944373276.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 21:26:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Any-way-to-close-all-tables-EXCEPT-the-table-of-interest/m-p/925119#M108313</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2026-01-20T21:26:18Z</dc:date>
    </item>
  </channel>
</rss>

