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
Why not create a public function which stores &/or retrieves a global variable that you store after the first form is executed? This would allow you to not only use it on one or more forms, but also as criteria within a query (for example, to return records which match the user name you've stored).
I agree this is "fake" security, but there also times when it's sufficient for your needs. I've implemented this before, where I match the environment string username to an entry in a user table.
BTW, I refer to this feature as personalization, not security.
Just a thought.