Thursday, March 8, 2012

custom formulas

im moving over from a crystal background, in crystal i was able to create custom formulaes and use them somewhere in the report, can this be done in RS, if so how?

thanks

Jonny

Hi Jonny

This can definitely be done.
On the report layout view, right click on the top right hand corner of the report (where there is the little black square) and select 'Properties'. Then click on the Code tab. You can write any functions you need there.
To call the function from an expression you just type
= Code.MyFunction(Param1,Param2)

Cheers
Mark

No comments:

Post a Comment