Hi there.
I am trying to construct a query that will pull all records from a table where the Part_ID is in the list of filtered records in my subform. I want to join another table to pull in the SKU and Part_Number of the Part_ID. I thought I could accomplish this via recordsetclone, but it is only pulling the records based on the first Part_ID it sees. How can I better accomplish what I am trying to do?
My current construction:
Code:
strSQL = "SELECT tbl_BillOfMaterials.*, tbl_Parts.SKU, tbl_Parts.Part_Number FROM tbl_BillOfMaterials INNER JOIN tbl_Parts ON tbl_BillOfMaterials.Part_ID = tbl_Parts.Part_ID WHERE (((tbl_Parts.Part_ID) IN (" & rs![Part_ID] & ")))"
Cheers,
jj