<?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: close data table without save in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/close-data-table-without-save/m-p/933211#M108959</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Assuming your tables are dt1 and dt2, to close dt2 without saving in a script, use the command line:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Close (dt2, NoSave);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Let us know if this addresses your question.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 01 Mar 2026 20:29:10 GMT</pubDate>
    <dc:creator>Thierry_S</dc:creator>
    <dc:date>2026-03-01T20:29:10Z</dc:date>
    <item>
      <title>close data table without save</title>
      <link>https://community.jmp.com/t5/Discussions/close-data-table-without-save/m-p/933196#M108958</link>
      <description>&lt;P&gt;If &lt;STRONG&gt;a JSL script is running ...&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;When I select 2++ data tables in the Window list and press DEL, I get the dialog:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt.png" style="width: 622px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/94766i02A39698B32273B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.png" alt="Unbenannt.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;On the other hand, when I select a single file and try to close it, the save file dialog opens - without the option to say : &lt;STRONG&gt;Don't save&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;-&amp;gt; any trick to close a singe data table when a script is running?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2026 19:13:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/close-data-table-without-save/m-p/933196#M108958</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2026-03-01T19:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: close data table without save</title>
      <link>https://community.jmp.com/t5/Discussions/close-data-table-without-save/m-p/933211#M108959</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Assuming your tables are dt1 and dt2, to close dt2 without saving in a script, use the command line:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Close (dt2, NoSave);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Let us know if this addresses your question.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2026 20:29:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/close-data-table-without-save/m-p/933211#M108959</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2026-03-01T20:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: close data table without save</title>
      <link>https://community.jmp.com/t5/Discussions/close-data-table-without-save/m-p/933224#M108961</link>
      <description>&lt;P&gt;it's not about JSL scripting.&lt;/P&gt;
&lt;P&gt;I want to use the GUI to close a data table.&lt;BR /&gt;&lt;BR /&gt;In the background a JSL script is running - and the script changes how JMP reacts on User interaction with the GUI.&lt;BR /&gt;If the user selects 2++ data tables and wants to close them ,the standard window is displayed. If the user wants to close a single data table, they fall into the trap: close! -&amp;gt; save? -&amp;gt; close dialog | close! -&amp;gt; save? -&amp;gt; close dialog | close! ...&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2026 21:40:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/close-data-table-without-save/m-p/933224#M108961</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2026-03-01T21:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: close data table without save</title>
      <link>https://community.jmp.com/t5/Discussions/close-data-table-without-save/m-p/933236#M108963</link>
      <description>&lt;P&gt;You can clear the dirty flag from JSL after changing the table, but then it won't prompt at all when closed. You could add a tool to do that.&lt;/P&gt;
&lt;P&gt;I've hit this issue as well. My current project is running off the scheduler with tasks rescheduling themselves multiple times per second. The weird close behavior does not happen. There are &lt;EM&gt;&lt;STRONG&gt;no&lt;/STRONG&gt;&lt;/EM&gt; sleeps in the JSL, only in the scheduler. Here I've moved the scheduler from its window to my window:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;sDum = Schedule( 0, Empty() ); // dummy scheduler
repDum = sDum  &amp;lt;&amp;lt; getcontainer; // the parent of the outline that holds the scheduler
sched = Remove From( repDum, 1 ); // steal the scheduler from the window it opens
sched &amp;lt;&amp;lt; Close( 0 ) &amp;lt;&amp;lt; settitle( "scheduler" );
repDum &amp;lt;&amp;lt; closewindow; // and close the unwanted window
...
newwindow("connections", vlistbox( hlistbox(... , sched , ...) , ... ));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_2026-03-01_20-37-47.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/94782i6CDF651F9009267A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_2026-03-01_20-37-47.png" alt="Screenshot_2026-03-01_20-37-47.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The technique for grabbing the scheduler has changed since the last time I used it in&amp;nbsp;&lt;LI-MESSAGE title="News Feed" uid="422804" url="https://community.jmp.com/t5/Uncharted/News-Feed/m-p/422804#U422804" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp; which used &amp;lt;&amp;lt;parent to get the report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2026 02:02:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/close-data-table-without-save/m-p/933236#M108963</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2026-03-02T02:02:28Z</dc:date>
    </item>
  </channel>
</rss>

