you were correct.
SET in cmd does not show any USERNAME variable. nor USERDOMAIN
Curiously, after setting the USERNAME in the promt by typing
SET USERNAME = username
MS Access still returns it empty on ?environ("USERNAME")
There's a disconnect somewhere.
Thanks for the reply!
I have no problems logging into the network.
I login using the same credentials into both the computers.
I've checked with everyone else who got the new laptops, they're environ("username") returns their username fine.
I haven't redefined environ function.
That IS...
Hi all,
I work at a quite large a company with domain users.
I'm developing access databases that rely on the environ("username") variable.
I got a new computer and on this one, environ("username") returns an empty string!
Could someone please help with this.
This works fine on my 2nd desktop...