How to: Add Code to a Report (Report Designer)
To add code to a report
On the Report menu, click Report Properties.
Note
If the Report menu is not available, click within the report design area.
On the Code tab, in Custom code, type the code.
See Also
Concepts
Using Custom Code References in Expressions (Reporting Services)
Report Designer How-to Topics