I am trying to create a database that will track personal information on clients I am trying to create a checkbox for marital status specifically single that will disable the other text boxes such as names, phone, D.O.B. and other things like this the code that I have tried follows. The check box will also need to disable the other check boxes such as Couple, Family, and Single with Children, untill the original check box is unchecked. Can anyone help with this??
Thanks in advance! :-)
Thanks in advance! :-)
Code:
Private Sub Single_Click()
If "Y" Then
txtLastName1.Enabled = False
Else
txtLastName1.Enabled = True
End If
End Sub
or
Private Sub Single_Click()
If (Y) Then
txtLastName1.enabled = False
txtFirstName1.enabled = False
End Sub
Comment