I received this code below and it does work. Thank you. The only problem I have now is how to eliminate all the blank lines now in the report where the no's were at.
I have created a report with several yes/no fields. Out of 12 yes/no fields on the report I only want to see those per record that are checked yes. I do not need to see them if they are checked no. I have tried a couple things and hasn't worked.
Dim ctl As Control
For Each ctl In Me.Detail.Controls
If ctl.ControlType = acCheckBox Then
ctl.Visible = (ctl.Value = True)
End If
Next