cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

Scheduler Generates Dissociation Error when script is refreshed after timer.

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:  The source table has changed. The summary table will be disassociated from it.

 

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.

 

 

Wait( 30 );
Close All( Data Tables, NoSave );

schedule((refreshtime*3), CdCl2_autoupdate));
CdCl2_autoupdate;

 

Note: just using shorter times for testing purposes.

 

Any help here would be appreciated. let me know if you need more information from me.

 

1 REPLY 1
txnelson
Super User

Re: Scheduler Generates Dissociation Error when script is refreshed after timer.

Try closing the summary table by itself and then issue the 

Close( data table("<your summary table's name>"), nosave );
Close All( Data Tables, nosave );
Jim