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?
 
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.
0
 
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.
0
 
MUTUAuthor Commented:
But that creates another hit to the database. Isn't there a neat way to do this?
0
 
MUTUAuthor Commented:
Thanks. For the record, I did SELECT 1;
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.