S
slickdock
How can I default a field in Access to equal the name the user is
logged in to the Windows server network as?
logged in to the Windows server network as?
How can I default a field in Access to equal the name the user is
logged in to the Windows server network as?
And make sure to name the module something OTHER than the function name
(fOSUsername).
--
Bob Larson
Free Tutorials and Samples athttp://www.btabdevelopment.com
__________________________________
- Show quoted text -
[email protected] said:And make sure to name the module something OTHER than the function name
(fOSUsername).
--
Bob Larson
Free Tutorials and Samples athttp://www.btabdevelopment.com
__________________________________
- Show quoted text -
Beautiful! Thank you everyone! It works perfectly for the
[RecordCreatedBy] field.
How can I make it work for the [RecordRevisedBy] field? I assume I
have to assign a macro to the Before Update property of the form that
Runs Code =fOSUsername() and places that value in the
[RecordRevisedBy] field, but my lame attempts have failed due to my
limited VBA experience.
Arvin Meyer said:Did you use:
"=fOSUserName()"
or:
=fOSUserName()
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com
I know it seems clear to you, but I don't know what to do. Where do IIt would just be:
Me!RecordRevisedBy = fOSUsername()
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.