This example shows how to use Special Values in Report Component. In this instance, we will change the value of a control called MySpecialValue which is located in a Report called Users.
Function Users_MySpecialValue_BeforeShow(Sender) Users.MySpecialValue.Value = "Row Number: " & Users.RowNumber End Function