the code below works perfectly. When I designed the database, I added 8 extra columns for future use. We now need to use all 8 of the columns that were in the db, but weren't used for anything.
SELECT PartsList.MODELNAME, temp.[model number], PartsList.Paper, PartsList.PcsPerPaper, temp.[production line] AS Line, temp.[date time], temp.[production quantity2], (Abs(([production quantity2]*1000))) AS ProdQty, DateValue([date time]) AS [Date], temp.[special notes], PartsList.MfrModel, PartsList.Box, PartsList.PcsPerBox
FROM temp LEFT JOIN PartsList ON temp.[model number] = PartsList.Post;
when I add the "PartsList.Extra1, PartsList.PcsPer1" to the query as below, I receive the error message, "Syntax Error (missing operator) in query expression 'model number'".
If I remove the added items, the query runs as it should.
SELECT PartsList.MODELNAME, temp.[model number], PartsList.Paper, PartsList.PcsPerPaper, temp.[production line] AS Line, temp.[date time], temp.[production quantity2], (Abs(([production quantity2]*1000))) AS ProdQty, DateValue([date time]) AS [Date], temp.[special notes], PartsList.MfrModel, PartsList.Box, PartsList.PcsPerBox, PartsList.Extra1, PartsList.PcsPer1
FROM temp LEFT JOIN PartsList ON temp.[model number] = PartsList.Post;
Any help is appreciated.