SSRS reference report variable from report function
问题 In SSRS, is it possible to reference a report variable from a report function? Below is my report function. Instead of declaring and setting the MaxRFWIDRange in the function, I'd rather reference a report variable with the same name. Function ValidateRFWIDRange(FromRFW As Integer, ToRFW As Integer) As Boolean Dim DiffRFW As Integer Dim MaxRFWIDRange As Integer MaxRFWIDRange = 10000 DiffRFW = ToRFW - FromRFW If DiffRFW > MaxRFWIDRange Then Return False Else Return True End if End Function 回答1