G
Guest
I have a report in which there is a bound control (ID) in the group header. I
have put a label in the same section and want it to display text based on the
number in the ID control. I have tried the following and it won't work. I am
not sure at what point in the report loading I would place it either (if you
are able to do this in reports).
Private Sub Report_Activate()
srtNum = Me.ID
If strNum = 3 Then
lblBudgetText.Caption = " This is label 3"
End If
If strNum = 4 Then
lblBudgetText.Caption = "This is label 4"
End If
End Sub
Any help would be appreciated.
have put a label in the same section and want it to display text based on the
number in the ID control. I have tried the following and it won't work. I am
not sure at what point in the report loading I would place it either (if you
are able to do this in reports).
Private Sub Report_Activate()
srtNum = Me.ID
If strNum = 3 Then
lblBudgetText.Caption = " This is label 3"
End If
If strNum = 4 Then
lblBudgetText.Caption = "This is label 4"
End If
End Sub
Any help would be appreciated.