SteveMac32
Programmer
Hi all hope you can help as this has been bugging me for days.
I need to create a temporary table to then report on, the table column headers need to be the values from one table and the column content from another… it goes a bit like this.
I have a table that has among other things a QuestionAsked column and a QuestionId column. (the text in QuestionAsked can change which is why I cannot create a normal table with the headers as we will not know what they are.)
I have another table with AnswersGiven column and a QuestionId column, being the link between the two tables.
Need to populate the column headers of a temp table with the QuestionAsked and the values for each Question need to be corresponding AnswersGiven
I need to create a temporary table to then report on, the table column headers need to be the values from one table and the column content from another… it goes a bit like this.
I have a table that has among other things a QuestionAsked column and a QuestionId column. (the text in QuestionAsked can change which is why I cannot create a normal table with the headers as we will not know what they are.)
I have another table with AnswersGiven column and a QuestionId column, being the link between the two tables.
Need to populate the column headers of a temp table with the QuestionAsked and the values for each Question need to be corresponding AnswersGiven