Update txtBox from value of previous form (1 Viewer)

ant1983za

Registered User.
Local time
Today, 23:55
Joined
Jul 2, 2013
Messages
14
Hi,

I have a log in screen called frmLogIn and on there i have Unbound Combo Box cboUser and Unbound Text Box txtPWord. I also have cmdOK.

IF the user sucesfully enters his password it takes him to frmMainMenu.

On that form i have a lable called lblYouAreCurrentlyLoggedInAs and a unbound text box called txtUserName.

How do i update that txtUserName to whatever was entered in the previous form's cboUser.

Thanks.

Wayne
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 13:55
Joined
Aug 30, 2003
Messages
36,133
One way would be to hide rather than close the login form, allowing you to refer to the combo from anywhere in the application.
 

Users who are viewing this thread

Top Bottom