I read through post:discussion1 but still I could not resolve my error.
The full script is large so I just condensed it down to a few lines.
When I create the add-in, the Log says: Name Unresolved: DSN in access or evaluation of 'DSN' , DSN/*###*/
Clear Log();
::DSN = "a64";
::connection = eval insert("DSN="||"^DSN^"||";UID=stuff;PWD=place;");
ct = Open("C:\Users\tom_p\Desktop\user-interface\UI_counter.jmp");
::count_a = ct:Table_Count[ 1 ];
Any ideas how to overcome? I tried DSN removing the global variable colon,colon (DSN="a64";) and it did not fix the issue. I'm running JMP 16.