O'Reilly logo

Microsoft® SQL Server® 2008 Reporting Services Step by Step by Stacia Misner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 16 Quick Reference

To

Do This

Add embedded custom code to a report

In BI Dev Studio, select Report Properties on the Report menu, click Code, and then enter a Visual Basic .NET code block in the Custom Code text box. Call the function in an expression using the following syntax: Code.method(arguments). For example:

=Code.GetStatus("Color", ReportItems!PctCon
tribution.Value, Variables!GroupThreshold.
Value)

Use a custom assembly in a report

Create a class library using a .NET language in Visual Studio and deploy the assembly to the Report Designer and report server Bin folders. In BI Dev Studio, open a report. On the Report menu, select Report Properties, and click References. Click Browse in the Add Reference dialog box, navigate to the Report ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required