I am trying to get a "Certified" check box to check itself based on two pieces of information. If the person has completed Phase1 training (a check box) and if they have been to their alt site within the last year. If both of these are yes, then it should check the "Certified" box. Here is the code I have attached to the "Certified" box that doesn't work:
Thanks for helping.Code:Private Sub ValidateCert() If Me.chk_Phase1.Value = -1 Then If Now() - Me.txt_Visit.Value < 365 Then Me.chk_Cert.Value = -1 Else Me.chk_Cert.Value = 0 End If Else Me.chk_Cert.Value = 0 End If End Sub