Hi
I am trying to get a txt box to state Yes after a date has been entered into another box
for some reason the IF statement is not working?
Code below:
Private Sub Final_approval_date_AfterUpdate()
If Me.Final_approval_date.Value = True Then Me.Status.Value = "Closed"
Me.Refresh
End Sub
I think it could be because I am asking if Final_approval_date is true and not an actual figure as it works fine for text or numbers
Help is much appreciated
Thanks
I am trying to get a txt box to state Yes after a date has been entered into another box
for some reason the IF statement is not working?
Code below:
Private Sub Final_approval_date_AfterUpdate()
If Me.Final_approval_date.Value = True Then Me.Status.Value = "Closed"
Me.Refresh
End Sub
I think it could be because I am asking if Final_approval_date is true and not an actual figure as it works fine for text or numbers
Help is much appreciated
Thanks