Link to home
Start Free TrialLog in
Avatar of michaeljusino1017
michaeljusino1017

asked on

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
Avatar of dmitryz6
dmitryz6

change from control source of the text box on the form is =Environ("Username")

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

countrol source will be boundet to field in your table
ASKER CERTIFIED SOLUTION
Avatar of dmitryz6
dmitryz6

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of michaeljusino1017

ASKER

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