G
Guest
I need to minimize Form 1 and then open Form 2. I think I have the syntax
right, and here's the code on my "submit" button on Form 1
=================================
Private Sub Enter_Survey_data_Click()
Dim stForm2 As String
stForm2 = "FRM - Step 2"
DoCmd.Minimize
DoCmd.OpenForm stForm2
End Sub
=================================
Form 1 is NOT minimizing, in fact it stays in front of Form 2 - any ideas?
I'd be fine with Form 2 "popping-up" over Form 1, but even with a SetFocus on
Form2 it's not working.....
right, and here's the code on my "submit" button on Form 1
=================================
Private Sub Enter_Survey_data_Click()
Dim stForm2 As String
stForm2 = "FRM - Step 2"
DoCmd.Minimize
DoCmd.OpenForm stForm2
End Sub
=================================
Form 1 is NOT minimizing, in fact it stays in front of Form 2 - any ideas?
I'd be fine with Form 2 "popping-up" over Form 1, but even with a SetFocus on
Form2 it's not working.....