Re: Getting NT User Login Names from Access 2000 or 2003



Sounds like maybe a References problem. See:

http://home.bendbroadband.com/conradsystems/accessjunkie/references.html

Post back with results.
--
Jeff Conrad
Access Junkie
http://home.bendbroadband.com/conradsystems/accessjunkie.html
http://www.access.qbuilt.com/html/articles.html

"Michael Miller" wrote in message:
news:2A04C5B6-B320-48AC-AFA7-96FE3B0F571F@xxxxxxxxxxxxxxxx

> I have a function called fOSUserName, that I found, to get the login name of
> the person, when they open my main form.

[code snipped]

> Problem is that it's returning mmiller followed by a bunch of square boxes.
> The Left$ (in the code) and a try of Trim and a LTrim(RTrim()) is not fixing
> it. When I try to assign it to a field in a log table, it always says that
> my data is too big for the field.
> When I assign it to a label, it shows up fine, as the boxes are not visible.


.


Loading