All; I have a form and subform with the following names:
frmBasic
sfrmCustomers
I have a unbound txt field called txtCustID on the mainform
I want to populate this field from a field on the subform called Cust_ID when the record is selected.
I following in the vba event for afterupdate:
Code:
Private Sub cboCustNum_AfterUpdate()
Me.Filter = "[Cust_ID]=" & cboCustNum
Me.FilterOn = True
Me.txtCustID = Forms.frmBasic.sfrmCustomers.Form.Cust_ID
End Sub
The name doesn't appear in the field. What am I doing wrong please?