R
Rani
I am trying to set a condition to display something according to a check box
condition AKA if not checked then item a will not be displayed if checked
item a will be displayed.
what's the correct way for doing it ?
I am currently using an after update event but am producing nothing.
here is the code:
Private Sub CbPurOption_AfterUpdate()
If Me.CbPurOption = 1 Then
Me.BoxPurOpt.Visible = True
Else
Me.BoxPurOpt.Visible = False
End If
End Sub
condition AKA if not checked then item a will not be displayed if checked
item a will be displayed.
what's the correct way for doing it ?
I am currently using an after update event but am producing nothing.
here is the code:
Private Sub CbPurOption_AfterUpdate()
If Me.CbPurOption = 1 Then
Me.BoxPurOpt.Visible = True
Else
Me.BoxPurOpt.Visible = False
End If
End Sub