beginner help- Open Form

viralbhatt

Registered User.
Local time
Today, 12:10
Joined
Jun 30, 2005
Messages
16
Hello,

I have created swithboard form that has couple of buttons. i need that button to display other forms. i am really struglling with that. i have looked at northwind project where it uses =openforms command but it doesn't work for me.

thank you
 
Scrap the wizard's switch board. Create your own main menu form. These two commands will open a form and close the form that the code was called from.

Code:
    DoCmd.OpenForm "YourFormNameHere"
    DoCmd.Close acForm, Me.Name 'close current form
 
Use the switchboard manager to add more commands/pages to your Switchboard, it's much easier than writing reams of code yourself
 

Users who are viewing this thread

Back
Top Bottom