In the detail section of a report I want to hide a checkbox control and it's label if the value of the control is false. I sort of expected the following to work.

Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
      If Me.CheckBox1 = True then
            Me.CheckBox1.Visible = True
      Else
            Me.CheckBox1.Visible = False
      End If
      'or,
...