:
Private Shared vars As New System.Collections.Hashtable()
Public Function SetVar(ByVal key As String, ByVal value As String) As Object
vars(key) = value
End Function
Public Function GetVar(ByVal key As String) As String
return vars(key)
End Function
Add a text box to the group whose visibility is equal =Code.SetVar("MyGroupVar", "MyValue") = Nothing. This expression is true, so the text box will be hidden. I like to give this text box a color fill and text value Magic.
Now you can add a text box in the header value is =Code.GetVar("MyGroupVar").
source
share