I have a form and within that there is a subform. In the subform there is a frame named fraBreach with 2 option buttons(yes ,No).
Now I have written the code in the subform as below:
But when I load the form , and within that I go to subform and tick Yes for fraBreach then it doesn't do anything. It doesn't display cmdBreach.
Any help will be much appreciated.
Thanks
Now I have written the code in the subform as below:
Code:
Private Sub fraBreach_AfterUpdate()
If fraBreach.Value = 1 Then
cmdBreach.Visible = True
Else
MsgBox "hellO"
End If
End Sub
But when I load the form , and within that I go to subform and tick Yes for fraBreach then it doesn't do anything. It doesn't display cmdBreach.
Any help will be much appreciated.
Thanks