Set a Field's Default Value as Windows User Name

JithuAccess

Member
Local time
Yesterday, 17:16
Joined
Mar 3, 2020
Messages
325
Hello Guys,

I have a field "Data Entry By" and there are 10 Staffs using the database. Is it possible, to set the default value of "Data Entry By" field as Windows User Name?

For Example, if a user ABC123 is using the Form for Data Entry, in the Table, I want to display ABC123 as "Data Entry By". I will not be showing "Data Entry By" in the Form. We are using Windows10 Enterprise

Is it possible.
 
Look at the Environ() function for the simplest, if not the most secure way.
 

Users who are viewing this thread

Back
Top Bottom