I have a query which pulls the info out of a text box (Me.part) on my form (My_frm) and I would like to populate 2 drop down boxes (Me.lotsn with LC) & (Me.loc with Location) on the same form from information that is derived from the query.
SELECT T1.PN AS Part, T2.LOC AS Location, T2.LOT AS [LC]
FROM T1 INNER JOIN T2 ON T1.ITM = T2.ITM
WHERE ((T1.PN)=[forms]![My_frm]![part]);
How do I set up the row source of the drop down boxes with the results of the query so that every time the part number changes, the query is run to update the dropdown list data?
thanks
SELECT T1.PN AS Part, T2.LOC AS Location, T2.LOT AS [LC]
FROM T1 INNER JOIN T2 ON T1.ITM = T2.ITM
WHERE ((T1.PN)=[forms]![My_frm]![part]);
How do I set up the row source of the drop down boxes with the results of the query so that every time the part number changes, the query is run to update the dropdown list data?
thanks