I want to have the "APUpdated" field populate with the current date and time whenever a change is made to the record. Have used the code below with no success.
Private Sub Form_DataChange(ByVal Reason As Long)
[APUpdated] = Now()
End Sub
When I use this code in the BeforeUpdate it works but it also records the date and time even when I enter the record and leave without making data changes--not exactly what I want.
Any suggesstions
Private Sub Form_DataChange(ByVal Reason As Long)
[APUpdated] = Now()
End Sub
When I use this code in the BeforeUpdate it works but it also records the date and time even when I enter the record and leave without making data changes--not exactly what I want.
Any suggesstions