<?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: Scheduler Generates Dissociation Error when script is refreshed after timer. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Scheduler-Generates-Dissociation-Error-when-script-is-refreshed/m-p/758244#M93849</link>
    <description>&lt;P&gt;Try closing the summary table by itself and then issue the&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Close( data table("&amp;lt;your summary table's name&amp;gt;"), nosave );&lt;BR /&gt;Close All( Data Tables, nosave );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 21 May 2024 20:52:11 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-05-21T20:52:11Z</dc:date>
    <item>
      <title>Scheduler Generates Dissociation Error when script is refreshed after timer.</title>
      <link>https://community.jmp.com/t5/Discussions/Scheduler-Generates-Dissociation-Error-when-script-is-refreshed/m-p/757961#M93848</link>
      <description>&lt;P&gt;I'm very new to jmp Scripting and working on making a script that my team can use during processing that will refresh so they can monitor the process as they work without having to interact too much with their computer. I got the refresh working but when the scheduler timer runs out and the script runs again, I am getting an Error message stating:&amp;nbsp;&amp;nbsp;&lt;U&gt;The source table has changed. The summary table will be disassociated from it.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This only happens after the script refreshes. It does not have any issues running the first time around. Currently I have it set up like this so my Data tables will close right before the script refreshes but I'm not quite sure how to get this error resolved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wait( 30 );&lt;BR /&gt;Close All( Data Tables, NoSave );&lt;/P&gt;&lt;P&gt;schedule((refreshtime*3), CdCl2_autoupdate));&lt;BR /&gt;CdCl2_autoupdate;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Note: just using shorter times for testing purposes.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help here would be appreciated. let me know if you need more information from me.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&amp;nbsp;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 20:11:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scheduler-Generates-Dissociation-Error-when-script-is-refreshed/m-p/757961#M93848</guid>
      <dc:creator>CriticalSeries2</dc:creator>
      <dc:date>2024-05-21T20:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduler Generates Dissociation Error when script is refreshed after timer.</title>
      <link>https://community.jmp.com/t5/Discussions/Scheduler-Generates-Dissociation-Error-when-script-is-refreshed/m-p/758244#M93849</link>
      <description>&lt;P&gt;Try closing the summary table by itself and then issue the&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Close( data table("&amp;lt;your summary table's name&amp;gt;"), nosave );&lt;BR /&gt;Close All( Data Tables, nosave );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 May 2024 20:52:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scheduler-Generates-Dissociation-Error-when-script-is-refreshed/m-p/758244#M93849</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-05-21T20:52:11Z</dc:date>
    </item>
  </channel>
</rss>

