I am in a subform and trying to put the selected record's workorderID into another form (frmworkorder) and then populate all the the related text boxes in the frmworkorder. The workorderID is put into a combo box, this works, but the combo box after update "event procedure" does not run. I can click the down arrow key and the right name for the workorderID is there. can press the enter key and all is populated.
I have the below code in one of the subform's text boxes Mouseup event. Also working with Access 2010.
Need help on this. Thanks
Richard M
I have the below code in one of the subform's text boxes Mouseup event. Also working with Access 2010.
Need help on this. Thanks
Richard M
Code:
Private Sub DCDescription_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Forms!frmworkorder!cboFindWO = Me.WorkOrderID
Forms!frmworkorder!cboFindWO.SetFocus
Forms!frmworkorder!cboFindWO.AfterUpdate = "[event procedure]"