Update By field?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way I can put a field in a table that records who the last
person was that touched a record?

Thanks.
 
Yes. Do a search for "timestamp" or "audit trail". This is addressed in
here pretty often. You should find previous posts that point out how to do
this, and maybe even some links to sample databases and code.

You should always search the newsgroups before posting a new thread.

Hope that helps,

Rick B
 
If you implement user level security, then you can use the following code to
insert the user name of the last person to update a record.

Sub Form_BeforeUpdate(Cancel As Integer)
Me.txtLastUpdatedBy = CurrentUser()
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top