Form Help Please!

  • Thread starter Thread starter Golfinray
  • Start date Start date
G

Golfinray

I should know this but I'm brain dead. I want to simply open a form or
subform with my onclick control on a command button. Please help a brain dead
old man. Thanks!
 
try this

DoCmd.OpenForm "Yourform"

Where yourform is the name of the form you want to open.
or you could just use the wizard - button which will create the code for you.

hth
 
i think u can try create the command button with the toolbox, make sure u
click the wizard.
from the categories selct Form operation & Open Form in the action. then
choose which form u want to open.
 

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