Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stamp Userid

Status
Not open for further replies.

humphreyoji

Technical User
Sep 30, 2004
12
NL
If I have fields called USERID and DATETIME in my table and I want the userid of the logged-on user as well as date/time to be stmaped when a record is updated, what do I do ?
 
If you're entering/editing data through a form, use the form's BeforeUpdate event to populate these fields... VBA along the lines of...

Me.Userid = CurrentUser()
Me.[Datetime] = Now()
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top