nschroeder
nschroeder
- Local time
- Today, 14:46
- Joined
- Jan 8, 2007
- Messages
- 186
I have a master form that opens a synchronized slave form in its Open event, and tries to close it in the Close event, but it won't close. It breezes past the Close command without an error, but nothing happens. The slave is a popup, non-modal form, but I've tried it both ways. Any suggestions? Here's the code.
Code:
Private Sub Form_Load()
DoCmd.OpenForm "frmDetail"
End Sub
Private Sub Form_Current()
Forms!frmDetail.Requery
End Sub
Private Sub Form_Close()
DoCmd.Close acForm, "frmDetail"
End Sub