Closing one form when opening second form

T

the bp Guy

I am putting command button on form 1 to open form 2 want to close form 1
when form 2 opens. I know I can do this in the properties of one or the other
(form1) or(form2) or command button

Thanks for your help
 
F

fredg

I am putting command button on form 1 to open form 2 want to close form 1
when form 2 opens. I know I can do this in the properties of one or the other
(form1) or(form2) or command button

Thanks for your help

Code that command button on Form1:
DoCmd.OpenForm "Form2"
DoCmd.Close acForm, Me.Name
 

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