Hi
I have two fields, Ready_Despatch (Y/N) and Ready_Date (Date field).
I want Ready_Date to automatically input today's date when Ready_Despatch has a Y.
I've tried doing an After update on the Ready_Despatch field as per below but nothing populates in Ready_date when Ready_despatch changes to Y.
Private Sub Ready_Despatch_AfterUpdate()
If Me.Ready_Despatch = True Then
Me.Ready_date = Date
Else
Me.Ready_date = Null
End If
End Sub
Help will be much appreciated
I have two fields, Ready_Despatch (Y/N) and Ready_Date (Date field).
I want Ready_Date to automatically input today's date when Ready_Despatch has a Y.
I've tried doing an After update on the Ready_Despatch field as per below but nothing populates in Ready_date when Ready_despatch changes to Y.
Private Sub Ready_Despatch_AfterUpdate()
If Me.Ready_Despatch = True Then
Me.Ready_date = Date
Else
Me.Ready_date = Null
End If
End Sub
Help will be much appreciated