My Select Query reads:
SELECT Food.FacilityID, License.LicenseID, Food.Priority, Food.Status, Fees.FeeID
FROM Fees RIGHT JOIN ((Food INNER JOIN License ON Food.FacilityID = License.FacilityID) INNER JOIN Invoice ON Food.FacilityID = Invoice.FacilityLUID) ON Fees.FeeID = Invoice.FeeID
WHERE (((Food.FacilityID)=14) AND ((Food.Priority)=1) AND ((Food.Status)="active") AND ((Fees.FeeID)=111));
My goal is to convert this to an append query that will had the new invoice for 2022.
The Select Query returns 6 records which would be an invoice for each year for the last 6 years. If I convert it to the append query it adds 6 new invoices instead of just the one needed for 2022
What am I doing wrong?
SELECT Food.FacilityID, License.LicenseID, Food.Priority, Food.Status, Fees.FeeID
FROM Fees RIGHT JOIN ((Food INNER JOIN License ON Food.FacilityID = License.FacilityID) INNER JOIN Invoice ON Food.FacilityID = Invoice.FacilityLUID) ON Fees.FeeID = Invoice.FeeID
WHERE (((Food.FacilityID)=14) AND ((Food.Priority)=1) AND ((Food.Status)="active") AND ((Fees.FeeID)=111));
My goal is to convert this to an append query that will had the new invoice for 2022.
The Select Query returns 6 records which would be an invoice for each year for the last 6 years. If I convert it to the append query it adds 6 new invoices instead of just the one needed for 2022
What am I doing wrong?