How can I automatically put the current user into a field?

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

Guest

Hello all,

In my table, I want to have a field that says "Updated By" and another that
says "Update Date". Anytime changes are made to the record, I would like the
current user's name and the date to get put into those fields. Does anyone
know how to do this or at least point me in the right direction?

Thanks
David
 
Use the forms BeforeUpdate event...
UpdatedBy = [currentuser]
UpdateDate = Date
hth
Al Camp
 
Question: Where does [currentuser] come from? Is this in a table?

Al Camp said:
Use the forms BeforeUpdate event...
UpdatedBy = [currentuser]
UpdateDate = Date
hth
Al Camp

devastator442 said:
Hello all,

In my table, I want to have a field that says "Updated By" and another
that
says "Update Date". Anytime changes are made to the record, I would like
the
current user's name and the date to get put into those fields. Does
anyone
know how to do this or at least point me in the right direction?

Thanks
David
 
devastator442 said:
Hello all,

In my table, I want to have a field that says "Updated By" and another that
says "Update Date". Anytime changes are made to the record, I would like the
current user's name and the date to get put into those fields. Does anyone
know how to do this or at least point me in the right direction?

Thanks
David
 
Back
Top