Hi guys,
I need help with two things. Here is what I am doing. I have a Form that has a header, a body and a footer. The body consist of a subform where I open all the rest of the forms.
When the app starts the main form opens with a login form inside the subform. After user logs in I run some code to verify user and then use the following which doesn't work.
The other thing I want to do is open another form inside the same submenu that the form Login was just closed. So I was tyrhing this:
and this didn't work either.
How can I close a subform using vba and then open a form inside the same submenu? Any ideas on how to fix this?
Thanks in advance.
I need help with two things. Here is what I am doing. I have a Form that has a header, a body and a footer. The body consist of a subform where I open all the rest of the forms.
When the app starts the main form opens with a login form inside the subform. After user logs in I run some code to verify user and then use the following which doesn't work.
Code:
DoCmd.Close acForm, "Login", acSaveNo
The other thing I want to do is open another form inside the same submenu that the form Login was just closed. So I was tyrhing this:
Code:
DoCmd.OpenForm "logo"
and this didn't work either.
How can I close a subform using vba and then open a form inside the same submenu? Any ideas on how to fix this?
Thanks in advance.