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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

=UserNameWindows() Does not work in some computers

Status
Not open for further replies.

mauricionava

Programmer
Jul 8, 2005
209
US
Hello, my form has the following code to retrieve the user logged in to the computer and to diplay it in the form.

=UserNameWindows() is in the default value of my username field.

Some computers give me a runtime error and that the application has to be closed.

I think it is the =UserNameWindows() function because I took it off the form and it let me use it without problems.

Any help will be appreciated.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top