I have a popup form that I use to enter data with and then have it update another field on another form using the OnClose Event.My code is not working.Popup from is named frmFEmpBonusDescription and form that ges the update afterwards is named FEmpBonus,it is a sub form on another form named Employees.The OnOpen event works fine and shows the correct data.?
Private Sub Form_Close()
On Error GoTo Err_Label21_Click
Forms![FEmpBonus]![Description] = Forms![frmBonusNotes]![TxtDescription]
TxtDescription.SelStart = Len(Description)
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70