Environ(x) doesn't work for 1 user

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.
 
L

Larry

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top