I have a form that shows employee details (frmEmpDetails) and it has a subform that shows a list of dependants (sfrmDependants), there is a button on frmEmpDetails, (cmdAddDependant) that when clicked, opens a new form (frmAddDependant), but frmEmpDetails stays open in the background. Once frmAddDependant is close, frmEmpDetails is back in view. The problem is that the sfrmDependants subform on frmEmpDetails doesn't show the new Dependant until I go to a different record on frmEmpDetails and then reload the record again.
I tried a DoCmd.Requery in the Form_Current function of frmEmpDetails and Access crashes.
I tried a DoCmd.Requery in the Form_Current function of frmEmpDetails and Access crashes.