Hi,
I have the following piece of code that works in earlier JMP versions but stops working in JMP 16.
//*****Set Working Directory*****//
PCName = Get Environment Variable("COMPUTERNAME");
WorkingPath_Settings_File = Get Path Variable("DOCUMENTS") || "WorkingPath_Settings.xlsx";
dt_WorkingPath = Open(WorkingPath_Settings_File, invisible);
rowindex_list = dt_WorkingPath << Get Rows Where(:PCName == PCName);
If(NItems(rowindex_list) == 0,
rowindex = 1,
rowindex = rowindex_list[1]
);
WorkingPath = dt_WorkingPath:WorkingPath[rowindex];
Close(dt_WorkingPath, NoSave);The error occurs at line:
rowindex_list = dt_WorkingPath << Get Rows Where(:PCName == PCName);
Error:
Name Unresolved: PCName at row 1 in access or evaluation of 'PCName' , :PCName/*###*/
Thank you for your help.