Add a new column to the table underlying you form. Make this column of type DateTime. Put a control on the form that is bound to this field. It's up to you whether you want to have this control visible or not, but don't enable it since you never want anyone to change it. On the click of your button ...
Me.audit_date = Now()
Now() represents the system time and date at the moment your reference it.
You can also use Date() which will give you only the date.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.