I have created a login form named login where the username is typed into the txtEmployee textbox, and I need to display the same in the second page in another form in MS Acc
A couple ideas...
Use the AfterUpdate event on the login username field to write the name to a global variable, then populate the field on the second page with the OnLoad event.
Or, if you plan on leaving the log in form open at all times you could set the default value of the field directly to =[Forms]![LogInForm]![UserName]