G
Guest
Hello,
Can you please let me know how to pass multiple selected items from a list
box on a form to a query using the "IN-clause"? the field (productID) is a
text field. here is the sample code that doesn't work:
SELECT OrderDetail.ProductID
FROM OrderDetail
WHERE (((OrderDetail.ProductID)=[forms]![profit_margin]![lstItemsSelected]));
thanks you in advance!
Michelle
Can you please let me know how to pass multiple selected items from a list
box on a form to a query using the "IN-clause"? the field (productID) is a
text field. here is the sample code that doesn't work:
SELECT OrderDetail.ProductID
FROM OrderDetail
WHERE (((OrderDetail.ProductID)=[forms]![profit_margin]![lstItemsSelected]));
thanks you in advance!
Michelle