How do I insert the current username into a field?

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

Guest

I have a db with user-level security. I want to store the current username of
who modified a record using OnDirty, but don't know where to find it.
 
gedeon said:
I have a db with user-level security. I want to store the current
username of who modified a record using OnDirty, but don't know where
to find it.

CurrentUser()
 
OnDirty is not the right event. What if they dirty the record but then
press Esc to discard their change?

I suggest you use BeforeUpdate. That event is fired when the record is
dirty /and/ the user has asked Access to actually save the change.

HTH,
TC
 

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