Hi,
Wrote a Custom Code i.e. a function.
Can not refer to this function from an expression area. It says unrecognized identifier.
Public Function TaxDeductions(ByVal Amount As Double) As Double
TaxDeductions = Amount * .25 + Amount * 0.05
End Functrion
Code.TaxDeductions(Sum(Fields!LineAmount.Value)
Any thoughts please?
make it static i.e. Public Shared Function....
No comments:
Post a Comment