Load and unload from what? You mean close and open another one?
Your code suggests you simply want to close some form and open another one, but what is 'current' form? You can close Login form easily enough,
DoCmd.Close acForm, "Login"
but what are you wanting to 'unload' after that? Maybe you just want to close and open the same form?
Last edited by Micron; 09-17-2018 at 11:29 AM.
Reason: spelin and gramur
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.