I have a popup modal form that incorporates a subform used to search records. Once a record is clicked on the subform, the subform filters a form called frm_LoanClosing. Then the code in the subform closes the main form that the subform resides in. At that point, I'm trying to set the focus back to a control on frm_LoanClosing. I have the following in the On Close event of the main form that holds the subform:
However, not only does the focus not land on the cmbApplicatonNumber control, it doesn't even land on the frm_LoanClosing form.
I have attached an example MDB with the forms.