G
Guest
I have a label in a report that I want to change based on a variable.
Here's my code:
If Report.OpenArgs = "Text1" Then
lblVariable.Caption = "Text" & Chr(13) & "MoreText"
Else
lblVariable.Caption = "Text" & Chr(13) & "DifferentText"
End If
What am I doing wrong? I also tried this with a text box and a line feed
chr(10), but it seems to be treating my chr()'s like unprintable characters.
Here's my code:
If Report.OpenArgs = "Text1" Then
lblVariable.Caption = "Text" & Chr(13) & "MoreText"
Else
lblVariable.Caption = "Text" & Chr(13) & "DifferentText"
End If
What am I doing wrong? I also tried this with a text box and a line feed
chr(10), but it seems to be treating my chr()'s like unprintable characters.