troubleshooting Question

How to dynamically add columns to the layout of a reporting services report

Avatar of skaleem1
skaleem1Flag for Canada asked on
Microsoft SQL Server 2005SSRS
3 Comments1 Solution413 ViewsLast Modified:
I have a query:

Select * from TableNm

The first two columns returned by the query will always be the same. However, the remaining column names and column numbers will vary everytime I run the query from tableNm table as the table structure is going to be modified every week by dropping and recreating the table.

I want to display the results of the query in a reporting services .rdl file. How can I dynamically modify/refresh the header names of the same layout in the .rdl file every time I generate the report by running the select query above. Can someone please guide me with a solution?

Faiga Diegel
Sr Database Engineer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros