This script is running well in JMP14 version, but when I using in JMP18 version the alarm happened.
Hopefully getting a help from everyone.
Thank you so much
Whatever days is referring to (number edit box or something like that is my guess) has been deleted. Impossible to say why because we cannot see the script
Names Default To Here(1); nw = New Window("", days = Number Edit Box()); Show(days << get); nw << close window; Show(days << get);
Hi jthi,
Thanks for an approaching this, below is the script and I also attached the file.
You are using Modal window and trying to access the values AFTER the modal window has been closed -> those values/references are gone at that point. I can see you are using << Return Result, so you could utilize that instead of << Get, so instead of
days = days << Get;
use
days = QueryOptionsChooser["days"];
Note that you might have to do similar changes to also display boxes.
Other option would be to collect the results already inside the modal when Button Box "OK" is pressed, so
Button Box("OK")
would change to
Button Box("OK", days = days << get; )
And again, similar changes might be required elsewhere