H
hermie
Hi
I have an simple option group with a yes and no radio button.
I like to have when option 1 (yes) is choosen my textbox is visble if option
2 (no) is choosen then the textbox should be invisible.
So far i created next events
Private Sub Form_Current()
If Me.SEGURO_DESEMPLEO.Value = 1 Then
Me.ESPECIFIQUE_BENEFICIOS.Visible = True
Else
Me.ESPECIFIQUE_BENEFICIOS.Visible = False
End If
End Sub
and
Private Sub BENEFICIOS_AfterUpdate()
If Me.SEGURO_DESEMPLEO.Value = 1 Then
Me.ESPECIFIQUE_BENEFICIOS.Visible = True
Else
Me.ESPECIFIQUE_BENEFICIOS.Visible = False
End If
End Sub
This results in that my textbox is now invisible
Do I something wrong?
herman
I have an simple option group with a yes and no radio button.
I like to have when option 1 (yes) is choosen my textbox is visble if option
2 (no) is choosen then the textbox should be invisible.
So far i created next events
Private Sub Form_Current()
If Me.SEGURO_DESEMPLEO.Value = 1 Then
Me.ESPECIFIQUE_BENEFICIOS.Visible = True
Else
Me.ESPECIFIQUE_BENEFICIOS.Visible = False
End If
End Sub
and
Private Sub BENEFICIOS_AfterUpdate()
If Me.SEGURO_DESEMPLEO.Value = 1 Then
Me.ESPECIFIQUE_BENEFICIOS.Visible = True
Else
Me.ESPECIFIQUE_BENEFICIOS.Visible = False
End If
End Sub
This results in that my textbox is now invisible
Do I something wrong?
herman