Closing one form when opening second form

  • Thread starter Thread starter the bp Guy
  • Start date Start date
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
 
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
 
Back
Top