SQL Reporting Services Tips  

Main | About us | Contact us  

 

16) Define a Report Constant

Bring up the Report Properties (by right clicking outside the report in Layout view)

Now go to the Code tab and write in this code:

Public Const PI = 3.14

Now in any report expression you can use:

=Code.PI

© Copyright 2009. Reporting Services Tips.