G
Guest
After updating a date feild on a single form, I would like to set the
visibility of a delete button (for the record) to false. I am getting an
error- "object required" on the second line. Any help? Here is the code:
Private Sub DateReceive_AfterUpdate()
If Me.[DateReceive] Is Not Null Then
Me.Delete.Visible = True
Else: Me.Delete.Visible = False
End If
End Sub
visibility of a delete button (for the record) to false. I am getting an
error- "object required" on the second line. Any help? Here is the code:
Private Sub DateReceive_AfterUpdate()
If Me.[DateReceive] Is Not Null Then
Me.Delete.Visible = True
Else: Me.Delete.Visible = False
End If
End Sub