J
Jade5
Hello: I am using Access 97 and I would like to disable a record when a
checkbox is clicked. My code below disables all the records in the form. How
can I delete only the record that is checked. The 3 fields in the form are
Type ID, Type code and Inactive. Inactive is a checkbox and the other two are
text fields. Thanks J.
Private Sub Inactive_Click()
If Me![Inactive] = True Then
Me![Type ID].Enabled = False
Me![Type code].Enabled = False
End If
End Sub
checkbox is clicked. My code below disables all the records in the form. How
can I delete only the record that is checked. The 3 fields in the form are
Type ID, Type code and Inactive. Inactive is a checkbox and the other two are
text fields. Thanks J.
Private Sub Inactive_Click()
If Me![Inactive] = True Then
Me![Type ID].Enabled = False
Me![Type code].Enabled = False
End If
End Sub