Environ("Username")

Ok I have my form to get the username of someone logged into the computer and on a network but I am having a problem now setting that form to store a record on to a table.  For example, the control source of the text box on the form is =Environ("Username") and has no way to store the value onto the table.  All other fields on my form which have a control source linked to a column on my table are able to store information...please help
michaeljusino1017Asked:
Who is Participating?
 
dmitryz6Commented:
One more time

default value for textbox
=Environ("Username")

countrol source will be bound to field in your table
0
 
dmitryz6Commented:
change from control source of the text box on the form is =Environ("Username")

to default velue for textbox
=Environ("Username")
0
 
dmitryz6Commented:
typo
to default value for textbox
=Environ("Username")

countrol source will be boundet to field in your table
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
michaeljusino1017Author Commented:
ok doesnt work, text box is still blank, should I put quotes around =Environ("Username")???
0
 
michaeljusino1017Author Commented:
it works now,  I needed to put a new record in the database...thanks for your help
0
 
dmitryz6Commented:
You welcome
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.