I am creating an art exhibition catalogue. I have a form which i have a check box[ContactDetails] for showing/not an artists contact details. I have tried the following code in the "On format" and "On Print" events without any luck.
Anyone able to give me some direction here?
Private Sub GroupHeader0_Print(Cancel As Integer, PrintCount As Integer)
If Me.ContactDetails = 0 Then
Me.address.Visible = False
Me.town.Visible = False
Me.Home_phone.Visible = False
Else
Me.address.Visible = True
Me.town.Visible = True
Me.Home_phone.Visible = True
End If
End Sub
Anyone able to give me some direction here?

Private Sub GroupHeader0_Print(Cancel As Integer, PrintCount As Integer)
If Me.ContactDetails = 0 Then
Me.address.Visible = False
Me.town.Visible = False
Me.Home_phone.Visible = False
Else
Me.address.Visible = True
Me.town.Visible = True
Me.Home_phone.Visible = True
End If
End Sub