Let me try to explain form a different perspective: I have a main screen that is tracking purchase orders. Each purchase order has numerous line items which I am currently displaying in a subform, linked by the PO id. Each line item has numerous ammendments containing ammendment no, delivery dates, etc which I am displaying in a second subform linked by the line item id. What I am trying to do is to be able to click on a line item in the first sub form and have all the ammendments related to that line item appear in the second subform.
Here is the sql of the query for the ammendment data:
SELECT tbl_RPO_amendment.[Amendment No], tbl_RPO_amendment.[Amendment Date], tbl_RPO_amendment.[Line ID], tbl_RPO_amendment.qty, tbl_RPO_amendment.[delivery date], tbl_RPO_amendment.[shipped date], tbl_RPO_amendment.shipped
FROM tbl_RPO_amendment
WHERE (((tbl_RPO_amendment.[Line ID])=[forms]![tfrm_rpo_entry]![nfrm_line_items].[form].[id]));
This works fine when the main form opens for the 1st line item no. but I haven't figured out how to get the query to requery when the line item number changes as I click on different ones.