This is a really basic question.
I have two data sets open in JMP, one called CONTROL and one called RELEASE. In the script, CONTROL has just been created so it is the current data set. I want to switch the current data set to RELEASE.
I use the following command:
Current Data Table (RELEASE);
This piece of code is straight out of the JMP scripting guide. However, it doesn't work. when I subsequently run the command:
Col Number(sample_type);
where 'sample_type' is variable in both data sets, it keeps returning the number of rows from CONTROL not the number of rows in RELEASE. In other words, JMP still things the current data table is CONTROL. It assumes that the 'Col Number()' function is operating on CONTROL, not RELEASE. How do I get JMP to recognize RELEASE as the current or default data set?
Current Data Table (RELEASE);