Saturday
29Aug2009
Top 5 reasons to use Linked Reports.
For those of you who have not explored the world of Linked Reports, I suggest that you do so. Linked reports add a level of creativity and functionality to the world of SQLServer Reporting Services that must be explored and utilized if you are a serious reports developer. This post will highlight the reasons that I feel you, as a solutions developer, should start using Linked Reports.

- Centralized Code...
- With linked reports you can maintain a single set of base reports. Instead of populating your reporting environment with multiple copies of the same report utilizing linked reports will allow you to maintain one version of each report in one location or folder.
- One can be MANY...
- You can use a base report but you can actually call it any name you want when you push that report out as a Linked Report.
In the box above you can call the report anything you want if it is in a different folder than the base report. For one folder it may make sense to call it one name and for another it may make sense to call it another name.
- You can use a base report but you can actually call it any name you want when you push that report out as a Linked Report.
- Creative use of parameters can add to the flexibility.
- Moving along the on same theme as the previous bullet, the creative use of parameters can help you when you roll out linked reports. In addition to being able to change the report name of a linked report, utilizing different parameters for each linked report only adds to the flexibility.
What we have done, in our implementation of linked reports, is modify the default values of the linked reports to make it a totally different report. For example, maybe we have a report which will have a parameter called ReportType and there are two values to choose for that parameter. One value is Summary and the other option is Detailed. When you run the report, if you choose Detailed it will give you the details of the data. For the Summary version you get more of a rolled-up summarized view of the data. With linked reports you can simply create two different linked reports where one is named Sales Order Transaction Summary and other is named Sales Order Transaction Detail. The first linked report simply has a default value for ReportType of Summary and for the second report the default value is Detailed. You then would hide that parameter to the user who is running it so that the user cannot change it. So, what you have done is create two totally different linked reports from one base report. I'm sure where you can see how creative you could get when it comes to base reports with many parameters. One base report could end up being many different reports.
- Moving along the on same theme as the previous bullet, the creative use of parameters can help you when you roll out linked reports. In addition to being able to change the report name of a linked report, utilizing different parameters for each linked report only adds to the flexibility.
- Rolling out schema changes is easy.
- OK, you now have just received a new release of the database that all of your reports are running against. With the centralized code base you now ONLY have to make the code changes to the base reports. Once the changes are made to the base report and redeployed, any linked report that utilizes that base report should now reflect those changes. One thing to remember is that if you do add new parameters to the base report you may have to make sure that the default values you have chosen in your linked reports stay the same. I recommend testing in a test environment before you roll out code changes to your base reports in your production environment.
- Linked report are fun!
- I have to say that ever since we incorporated linked reports our whole team feels that this is certainly the way to go as far as deploying reports is concerned. We also try our very best to develop multi-parameter, flexible base reports so that the ominous one-off report does not have to be developed. We have found that if you are creative enough with the development of your base reports then you should be able to eliminate the dreaded one-off report.
In conclusion, I implore you to start exploring and utilizing the use of Linked Reports. I guarantee that you will enjoy them and you will be glad that you heeded my advice.
(Please feel free to leave comments on this post and let us know any creative ways you have used linked reports.)
Please subscribe to this blog using the RSS Feed link.

Bob
Reader Comments (1)
The credit loans seem to be important for guys, which want to ground their own organization. As a fact, it is not really hard to get a credit loan.