Hi everyone,
I have a JMP script that merges multiple tables into a single output table (see code snippet below).
Even though I’m trying to keep it hidden using:
the data table window still pops up briefly when it’s created (especially when using Concatenate or Join).
Is there a reliable way to keep the table from opening at all while the script runs?
I’ve tried:
-
Adding Invisible after creation
-
Using Show Window(0) or Hide Window()
-
Assigning it to a variable and setting invisible immediately
None seem to fully prevent the window from opening momentarily.
Sample Code-
//### Create combined output table
calcVersion = "Combined_Output_Table"; // Name of the final output table
nTables = N Items( tableNameList );
// Combine multiple batch tables into one
If(
nTables == 1,
Data Table( OpenTableNames[1] ) << Set Name( calcVersion ),
FirstTable = Remove From( tableNameList );
FirstTable << Concatenate(
tableNameList,
Output Table Name( calcVersion )
);
// Close intermediate tables
For( i = 1, i <= nTables, i++,
Close( Data Table( OpenTableNames[i] ), NoSave )
);
);
//### Attempt to hide the window
Data Table( calcVersion ) << Invisible( 1 );