Access 2010
Hello,
I am trying to do a basic query where you are required to enter a colour or part thereof and have those items returned. In some cases I have asked 2 or three questions to be answered. But this example is just one.
The query is returning duplicates of the exact same items up to 6 or more times. how do I prevent these double ups? SQL below. I have a similar query on a different product which is working fine..
Thank you
Jason
SELECT tblSupplier.SuppName, tblEdging.EdgeColour, tblEdging.EdgeFinish, tblEdging.EdgeLength, tblEdging.EdgeWidth, tblEdging.EdgeThickness, tblEdging.EdgeRackLocation, tblEdging.EdgeDescription, tblEdging_1.JobAllocate, tblEdging_1.EstimateLength, tblEdging_1.ByWho, tblEdging.EdgeDataEntryDate, tblEdging.EdgeFormDate
FROM tblEdging AS tblEdging_1, tblSupplier AS tblSupplier_1, tblSupplier INNER JOIN tblEdging ON tblSupplier.SuppID = tblEdging.SuppID
WHERE (((tblEdging.EdgeColour) Like [What Colour or ENTER For All] & "*"));
Hello,
I am trying to do a basic query where you are required to enter a colour or part thereof and have those items returned. In some cases I have asked 2 or three questions to be answered. But this example is just one.
The query is returning duplicates of the exact same items up to 6 or more times. how do I prevent these double ups? SQL below. I have a similar query on a different product which is working fine..
Thank you
Jason
SELECT tblSupplier.SuppName, tblEdging.EdgeColour, tblEdging.EdgeFinish, tblEdging.EdgeLength, tblEdging.EdgeWidth, tblEdging.EdgeThickness, tblEdging.EdgeRackLocation, tblEdging.EdgeDescription, tblEdging_1.JobAllocate, tblEdging_1.EstimateLength, tblEdging_1.ByWho, tblEdging.EdgeDataEntryDate, tblEdging.EdgeFormDate
FROM tblEdging AS tblEdging_1, tblSupplier AS tblSupplier_1, tblSupplier INNER JOIN tblEdging ON tblSupplier.SuppID = tblEdging.SuppID
WHERE (((tblEdging.EdgeColour) Like [What Colour or ENTER For All] & "*"));