Can someone help me to take a look bellow jsl?
I am trying to use it concatenate all open table into a single table, and close all the open table, only leave a final table which was concatenated from all of them.
When I run the jsl, it has a bug to re-produce multiple "final" table and not concatenate into 1 single table.
Not clear where the bug is coming from.
Thanks
Clear Globals();
// Create your Tables list
Tables = {};
For( i = 1, i <= N Table(), i++,
Insert Into( Tables, Data Table( i ) << get name )
);
// Run the concatinations
For( i = 1, i < N Items( Tables ), i++,
ConcTable = Data Table( Tables[i] ) << Concatenate(
Data Table( Tables[i + 1] ),
Create source column,
Output Table Name( "final" )
);
Close( Data Table( Tables[i] ), No Save );
);