Hi. I need to highlight certain records in a report. My specific question is how to reference a field in a report underlying data source query to change the visible property of a label in the report detail header section. Here's what I'm trying to accomplish:
A more general question would be where to find info on all the different ways to refer to a field or a control when building forms and reports.
Thanks!
Code:
Private Sub CLINHeader_Format(Cancel As Integer, FormatCount As Integer)
'IS_OPTION is a Yes/No field in the main report query.
If Me.IS_OPTION = True Then
Me.lblIS_OPTION.Visible = True
Else
Me.lblIS_OPTION.Visible = False
End If
End Sub
A more general question would be where to find info on all the different ways to refer to a field or a control when building forms and reports.
Thanks!