Hello. I am having a similar issue as in thread 702-651866. I have a small, not complex database in Access 2003 created to store hardware and software inventory. It contains 3 tables and 3 forms. On the software form, I have a check box to be select if the software item has the ability to be renewed. When the check box is select I want to have a text box enable prompting for a renewal date. Right now when i check the box, the text box does enable. However, when I move on to the next record, it stays as it did previously. My code is below for both on click and afterupdate events. Please let me know what I need to add to have the checkbox answer be reflected differently for each record. Thank you very much.
Private Sub Renew_AfterUpdate()
If Renew.Value = vbChecked Then
RenewalDate.Enabled = True
Else
RenewalDate.Enabled = False
End If
End Sub
Private Sub Renew_Click()
If Renew.Value = vbChecked Then
RenewalDate.Enabled = True
Else
RenewalDate.Enabled = False
End If
End Sub
Private Sub Renew_AfterUpdate()
If Renew.Value = vbChecked Then
RenewalDate.Enabled = True
Else
RenewalDate.Enabled = False
End If
End Sub
Private Sub Renew_Click()
If Renew.Value = vbChecked Then
RenewalDate.Enabled = True
Else
RenewalDate.Enabled = False
End If
End Sub