Hi community,
When I open a table with a database with the following script saved to the datatable it works. When I save the script to a menu item in an addin it just pulls the data and doesn't exclude. Whats up?
Open Database(
"DSN=PI SQL Connection Lab;Description=PI SQL Connection Lab;UID=;Trusted_Connection=Yes;APP=JMP;WSID=SFX-5GCN2M1;DATABASE=LabData",
"SELECT * FROM dbo.NSI_Discovered_Factors_Lab_Data",
"NSI_Discovered_Factors_Lab_Data",
"NSI Database"
);
dt=CurrentDataTable();
dt<<Select Where(Exclude=="Exclude")<<hide<<Exclude;