I have a control in Form1 and after LostFocus, it open a Form2, Form1 rests still open. But I want to close Form1 automaticly after opening Form2. How can I do that?
Here is an example:
Form1:
Private Sub POD_LostFocus()
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Form2"
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub
Thanks!
Here is an example:
Form1:
Private Sub POD_LostFocus()
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Form2"
DoCmd.OpenForm stDocName, , , stLinkCriteria
End Sub
Thanks!