What us wrong with this please? I get error "Object Required"
Date_Diarised is field on my form and starts empty, Add_Date is a button that will populate field called Date_Complete with a date. I want the Add_Date field disabled until the user has enter a Date_Diarised. Im very new to this!! tried to seatch but I cant figure it out
Code:
Private Sub Form_Open(Cancel As Integer)
If Date_Diarised.Value Is Null Then
Add_Date.Enabled = False
Else
Add_Date.Enabled = True
End If
End Sub
Date_Diarised is field on my form and starts empty, Add_Date is a button that will populate field called Date_Complete with a date. I want the Add_Date field disabled until the user has enter a Date_Diarised. Im very new to this!! tried to seatch but I cant figure it out
Last edited: