What I am looking to do is daily all of the parts that are running in every machine is stored in the Production_Partial table. I need to run a query to pull the days part numbers and if the part number has ran in that machine before pull the Takt Time(parts per hour) from the Takt_Times Table. If there is not a record in the Takt_Time Table I need the record for the day to still return in the query as to populate the Takt_Time table Via a Form.
I currently have 2000 different part numbers and 39 machines. all of the part numbers cannot run in all of the machines but there are parts that can run in more than one machine.
This is the SQL view for the Query:
SELECT Production_Partial.PressID, Production_Partial.CustProdID, Production_Partial.Date, Takt_Times.FK_PressID, Takt_Times.TaktTime
FROM Takt_Times INNER JOIN Production_Partial ON Takt_Times.FK_PressID = Production_Partial.PressID
WHERE (((Production_Partial.Date)=Date()-4));
Any direction would be greatly Appreciated.
Thank You
Jason