Hi Guys
I am trying to create columns in a table using VBA. The names of the columns will come from a query that extracts the Column Name from another table.
Psuedo Code:
input = input.txt
-> Select ColumnName from TableA Where TableA.TableName = input
-> Feed records into a recordset
-> Loop through the recordset creating columns with the names from the results of the loop.
What is the best way of doing this?
Thank u in advance
I am trying to create columns in a table using VBA. The names of the columns will come from a query that extracts the Column Name from another table.
Psuedo Code:
input = input.txt
-> Select ColumnName from TableA Where TableA.TableName = input
-> Feed records into a recordset
-> Loop through the recordset creating columns with the names from the results of the loop.
What is the best way of doing this?
Thank u in advance