Home Forums Microsoft Access Microsoft Access Update Field to current logged in user ID with new record command button RE: Update Field to current logged in user ID with new record command button
R. Brush
SSCommitted
Points: 1669
More actions
July 17, 2013 at 7:38 am
#1633284
Within Access you can use the Environ("UserName") function to get the user that is logged into Windows.
The suser_sname() may return the Domain/UserID if using Windows authentication.