All; using access 2010. I have a form with a table with one field for the record source. The field contains the cust num. Then I have a subform with a cust num field and additional data fields. I use a combo box with the cust num field on the main form. I want the user to select the cust num from the combo box and filter the subform to that particular cust num. For some reason; when I added the subform with the wizard; it didn't suggest the master and child links. I had to create them. I select a cust num from the combo box and it doesn't change the subform until I close and reopen the form. I need both forms to clear on load.
I'm using the code afterupdate:
Code:
Me.Filter = "[cust_num]=" & cbocust_num
Me.FilterOn = True
What am I doing wrong please.