Go to another form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi.
This should have been easy but it is not working. I go from form1 to form2
(openform command). I do not close form1. When the user clicks on a button on
form2 I want to go back to form1, which is still open. I do not want to close
form2. I have tried to use setfocus to go back to form1 but that does not
work. Does anyone know how to do this?
Thanks!
 
try using

DoCmd.SelectObject acForm, "MyFormName"

substitute the correct name of form1, of course.

hth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top