Adding a legend to a Reporting Services report

Hi,

I have a Microsoft SQL Server 2000 Reporting Services report using a matrix and using a dataset that gets its contents from a stored procedure. All is working fine, but I have some color-coding used in the report itself and I would like to add a legend at the top.

In Visual Studio .NET 2003, I switched to the toolbox tab on the left hand sidebar and dragged a table to my report. I removed the header and footer, removed a column and added rows and basically made the table the way I want. The problem I have is that the legend is not appearing once, and all the time (as I would want it). Instead it shows up as many times as there are rows in the dataset used by the matrix. How do I make it to work independently from the dataset, the same way as a textbox works for example?
LVL 1
MUTUAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

simon_kirkCommented:
Remove the dataset from the table, as I'm guessing its the same one as your Matrix.  Create another datset with just SELECT GETDATE() and then use this in your table.  This dataset will return one row of data, so your table will only have one detail row.
MUTUAuthor Commented:
But that creates another hit to the database. Isn't there a neat way to do this?
simon_kirkCommented:
A table requires a dataset. Using SELECT GETDATE() is a simple way to create a dataset.  Other option would be to use textboxes.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MUTUAuthor Commented:
Thanks. For the record, I did SELECT 1;
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DB Reporting Tools

From novice to tech pro — start learning today.