S
Steel Banana
I have a query (qryPortlandData) with one table (tblPortlandData) that works
fine. I'm trying to add another table (tblToteParts) with one common field
(PartNumber) between the two tables...but I keep getting the error 3079 "The
specified field <field> could refer to more than one table listed in the FROM
clause of your SQL statement."
SQL:
SELECT "J:\Inventory\Product Photos\ClassA\" & [PartNumber] & ".jpg" AS
PartPicture, tblPortLandData.Location, tblPortLandData.PartNumber,
tblPortLandData.Description, tblPortLandData.Revision,
tblPortLandData.QtyOnOrder, tblPortLandData.QtyOnHand,
tblPortLandData.SalesOrder,
tblPortLandData.LineNumber
FROM tblPortLandData INNER JOIN tblToteParts ON tblPortLandData.PartNumber =
tblToteParts.PartNumber;
This is really bugging me as I've done simple queries like this. The error
is apparently in the FROM clause, but it looks fine to me. What am I missing
here?
Thanks for any help!
fine. I'm trying to add another table (tblToteParts) with one common field
(PartNumber) between the two tables...but I keep getting the error 3079 "The
specified field <field> could refer to more than one table listed in the FROM
clause of your SQL statement."
SQL:
SELECT "J:\Inventory\Product Photos\ClassA\" & [PartNumber] & ".jpg" AS
PartPicture, tblPortLandData.Location, tblPortLandData.PartNumber,
tblPortLandData.Description, tblPortLandData.Revision,
tblPortLandData.QtyOnOrder, tblPortLandData.QtyOnHand,
tblPortLandData.SalesOrder,
tblPortLandData.LineNumber
FROM tblPortLandData INNER JOIN tblToteParts ON tblPortLandData.PartNumber =
tblToteParts.PartNumber;
This is really bugging me as I've done simple queries like this. The error
is apparently in the FROM clause, but it looks fine to me. What am I missing
here?
Thanks for any help!