Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

log-on username

Status
Not open for further replies.

stat123

Technical User
Jul 19, 2004
10
CA
I have a database used by many users on a network. In one form, I need to pick up the username; I have tried ENVIRON(USERNAME), but it has not been so successful. Anyone knows of a piece of code that I can use to get the log-on username?

 
Have you tried this:
userName = Environ("USERNAME")

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top