switchboard

  • Thread starter Thread starter Michael Hanlon
  • Start date Start date
M

Michael Hanlon

I am working on a database that has many switchboards. I have the main
switchboard that works but i need to now how to close the main switchboard
when the other switchboard has been called.

so i can open a form in code docmd.openform " switchboarda", acnormal
how do i close the switchboard main.

any help thanks

mike
 
Hi Michael

Use DoCmd.Close to close a form (or any object):
DoCmd.Close acForm, "switchboard main"

You might also consider making it invisible, so when you go back to it
everything is as before:
Forms("switchboard main").Visible=False
or, if this code is within [switchboard main] itself:
Me.Visible=False
 
Back
Top