Hi,
as per your discription u 'r requirement is like when ever Row data changed column name also has to be changed. IF my understanding is correct u have to create one more Row detail row at the end of table of your Report and write below Expression
=Fields(ReportItems!Textbox1.Value).Value in header part.
OR
in your Query you have to insert every column name as a First value in data set.
take that First values in Header using below expression:--
First(Field.value,"dataset")
please Let me know if anything!!
Regards,
Akhil