Hi,
I have a button on Form1 - when it is clicked I want the following to happen:
i) Open Form2
ii) Close Form1
(or the other way round)
Can anyone help me with this - I have tried the below, but Form1 stays open grrrr...
Private Sub Command5_Click()
DoCmd.OpenForm "Form2"
DoCmd.Close acform, "Form1",acsaveno
End Sub
I have a button on Form1 - when it is clicked I want the following to happen:
i) Open Form2
ii) Close Form1
(or the other way round)
Can anyone help me with this - I have tried the below, but Form1 stays open grrrr...
Private Sub Command5_Click()
DoCmd.OpenForm "Form2"
DoCmd.Close acform, "Form1",acsaveno
End Sub