Incorporating custom code into reports

Providing custom code support empowers reports to work with the following

  • Custom constants
  • Complex functions
  • Functions that are used in more than one place of the report

Custom code can be new constants, variables, functions, and subroutines.

Report Designer (SSDT) is preferred for coding custom code and Report Builder through valid expressions, or including references to custom assemblies on the Report Server is chosen to include/embed code. Custom code assemblies support keeping code in one place and sharing with multiple reports.

Using expressions is one way of incorporating aggregate functions. You can also use the custom code to incorporate into reports. Here, you will learn to incorporate custom code.

Hands-on ...

Get Learning SQL Server Reporting Services 2012 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.