JMP alert: Argument must contain data table reference in access or evaluation of 'current data table', current data table/*###*/(dt1)Hi,
I have encountered this problem when I run a old script on JMP 15. Anyone can help me to solve this problem? Thank you in advance!

Data TableRe: JMP alert: Argument must contain data table reference in access or evaluation of 'current data table', current data table/*###*/(dt1)Thid error occurs when the argument to the function is blank. The example below will throw that error:
r="";
current data table(r);
Re: JMP alert: Argument must contain data table reference in access or evaluation of 'current data table', current data table/*###*/(dt1) Hi,
Could you share the portion of the script that triggers the error?
One obvious but unlikely issue might be that you do not have any table opened when you invoke the Current Data Table function.
Also, if you want to define a specific table, use the Data Table ("name") function instead of Current Data Table.
Best,
TS
Re: JMP alert: Argument must contain data table reference in access or evaluation of 'current data table', current data table/*###*/(dt1)You may want to activate "Show embedded Log" in the Script Window (by right clicking, or setting this in the preferences.
Then the Log tells you at which Line this error occurs.
You can check the prerequisites (if variables are populated with the expected values) by hovering over the variable name, it will show the value. The snippet I borrowed from @txnelson - Thanks.

Re: JMP alert: Argument must contain data table reference in access or evaluation of 'current data table', current data table/*###*/(dt1)I also get this error. The log shows:
******
Argument must contain data table reference in access or evaluation of 'Current Data Table' , Current Data Table/*###*/(dt1)
at line 1 in Script for MyData
******
Line 1 in my script is:
Current Data Table(dt1);
I'm running the script on a table that's open. It's the only data table open. Any ideas?
Re: JMP alert: Argument must contain data table reference in access or evaluation of 'current data table', current data table/*###*/(dt1)Interesting, for my specific usage I was able to leave Current Data Table() empty to successfully run the command with the desired output. My guess is what if the table you intend to run this script on is on top, that you should be able to leave the argument empty.