Create New Column if the list contains
Hi,I have a list which contains column names. I want to create a new column if the column name exist in the string list. Here's my code. It works but creates duplicate column names bc of the loop. Any advice? Names Default To Here( 1 );
Clear Globals();
Clear Log();
dt = Current Data Table();
col_list = dt << Get Column Names( string );
idds = {52,54};
For( i = 1, i <= N items( idds ), i++,
I
...