I have a search List box that lists all orders (customer details and their orders) the tables are related one to many (one customer has many orders). The issue is that the form that is being opened from the list box is CUSTOMER with a subform of ORDER. My list box was originally linked to the form that is opening through ClientID. But of course this causes an issue if the client has more than one order. I tried my best to make the listbox linked to the OrderID in the ORDER subform but it does not recognise it and then just brings up a blank form. Is it possible for a list box to reference a subform or am fighting a losing battle?
Here is the 'where' criteria I used in my macro to try and reference the subform: [Forms]![Frm_OrderClient1]![Frm_OrderSub1]![OrderiD]=[Forms]![Frm_FindBooking]![SearchList]
But I just get a blank form. Any help appreciated.