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

Memo form that calls UserName from Environ Upon _Enter in "Memo" Field

Status
Not open for further replies.

MattMeat

Programmer
Nov 6, 2001
38
0
0
US
Hello Everybody!

This is Mattmeat.

I have a form called "Memo" that has two fields. One field is the "Memo" and the other is Username. Upon pressing Enter in the "Memo" field, I need the "UserName" field to update the Environ UserName.

So far, I have been using Environ ("UserName") but I haven't got the code right. Can Anyone Help me out?

Thanks
Mattmeat
 

Place code like the following in the After Update event of the Memo field.

Me.UserName = Environ("UserName") Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Thanks Terry,

This worked out well.

Mattmeat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top