I created a database using Access 2003 and created a field called "UserName" where I read the user's login name to their PC and default this for new orders. I used the following to do this:
=Environ("username")
Now, when accessing this database using Access 2007 or later, I get #NAME in the box.
Is their another function that I should be using or another line of code to use as the default to pull the user name from the PC?
Any help would be GREAT!
Thanks!
=Environ("username")
Now, when accessing this database using Access 2007 or later, I get #NAME in the box.
Is their another function that I should be using or another line of code to use as the default to pull the user name from the PC?
Any help would be GREAT!
Thanks!