I figured out. I did Open Form, then Close Form. that's why the new form never stayed in the window. so It appeared that Docome didn't work. Now I Close Form first, then Open Form. Now it did what I expected. close the login form and open the next form. Thanks again for your help.