I'm trying to use a button to record the actual date and time on a field on my form.
I'm using simple vba (below) but I am getting an error (see attached).
The field on the table is formated as "General Date" and I am use the same procedure in other forms in the same DB without issues. Can this be a form issue?
I'm using simple vba (below) but I am getting an error (see attached).
Code:
Private Sub Now_Click()
Me.CreatedOn.SetFocus
Me.CreatedOn = Now()
End Sub
The field on the table is formated as "General Date" and I am use the same procedure in other forms in the same DB without issues. Can this be a form issue?