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 ...

Get Microsoft® SQL Server® 2008 Reporting Services Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.