Environ(x) doesn't work for 1 user

  • Thread starter Thread starter Larry
  • Start date Start date
L

Larry

I use Environ("username") to assign the network username to a variable.
This works great except for one single user and it returns an error.

I wrote a little function to print all the user environ variables and it
works for that user, all the Environ variables are there.

But I can't set any textbox to an Environ.

All of her references match mine. We reinstalled Access - it's Access 03.

I don't know where to go from here.

Again, all other users have no problem.
 
Thanks Doug - works for me of course. I'll have to wait till monday to make
sure it takes care of that user. In the meanwhile I'll be changing all my
other code to use your suggested function. Much better than Environ!

Thanks again.
 
Back
Top