Button question

K

Kim Jackson

I have a button on my form and I need help with adding
code.. what I want to do is close [frmMain] and open
[frmEdits]..
thanks
 
R

R. Hicks

Use the "On Click" event of the button .. and use:

DoCmd.OpenForm "frmEdits"
DoCmd.Close acForm, "frmMain"

RD
 
G

Guest

-----Original Message-----
I have a button on my form and I need help with adding
code.. what I want to do is close [frmMain] and open
[frmEdits]..
thanks
.
me.close
docmd.openform "frmEdits"
 

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

Top