Chapter 22. Implementing Custom Embedded Functions

In This Chapter

• Adding Embedded Code

• Debugging Embedded Code

The simplest form of custom code available in SSRS is expressions, which were discussed in Chapter 8, “Expressions.” The next level of coding complexity is a custom embedded code in a report.

Adding Embedded Code

To get a better understanding of how embedded custom code is used in a report, report developers can assume all of the code placed in the code window gets compiled into a make-believe class called Code. You can add properties and methods to the make-believe Code class, and call class members from expressions in the report, which has the class defined.

Embedded code is compiled into a report’s intermediate format and ...

Get Microsoft® SQL Server 2005 Reporting Services 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.