Hiding forms

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I have a DB that uses several forms to navigate. Once the
user chooses an option I want to hide that form and go to
the next one. I do not want them to be able to change
screens without using my navigation buttons on the form. I
know that there is code to hide the form I just do not know
what it is. Please Help!!
Thanks
Mike
 
Mike said:
I have a DB that uses several forms to navigate. Once the
user chooses an option I want to hide that form and go to
the next one. I do not want them to be able to change
screens without using my navigation buttons on the form. I
know that there is code to hide the form I just do not know
what it is. Please Help!!
Thanks
Mike

Me.Visible = False
DoCmd.OpenForm "NextFormName"

To return...

DoCmd.Close acForm, Me.Name
Forms!NameOfForm.Visible = True
(DoCmd.OpenForm would also work)
 
Back
Top