First Post here... looks like a great forum.
Anyway, I am developing a Tools database for a Cleanroom. It will hopefully keep track of the tools that are used and the maintenance of each tool.
I have created a Tool Details table and a Tools Maintenance table with the data that I need to keep track of each tools and there Maintenance records.
I've created a query to get the Maintenance Record # (ID) the (Tool Name), Downtime End Date (dtEndDate), and (Tool Status).
I want to query the last record for that (Tool Name) and show the current status of the Tool (Tool Status)
I can get the result that i want without the Tool Status:
MaxOfID Tool_Name MaxOfdtEndDate
77 Plasmatherm 790 RIE 2/8/2012
215 Plasmatherm ICP 3/26/2012
270 Oxford HD-PECVD 10/5/2012
282 Stepper 10/9/2012
285 CHA Evaporator - DP 10/10/2012
But as soon as I bring in the (Tool Status) Field I get multiple records of some of the Tools:
MaxOfID Tool_Name MaxOfdtEndDate Tool Status
77 Plasmatherm 790 RIE 2/8/2012 In Service - Up
215 Plasmatherm ICP 3/26/2012 In Service - Up
266 Oxford HD-PECVD 11/18/2009 In Service - Up
267 CHA Evaporator - DP 9/17/2012 In Service - Up
270 Oxford HD-PECVD 10/5/2012 Not in Service - Down
282 Stepper 10/9/2012 Not in Service - Down
284 CHA Evaporator - DP 10/10/2012 In Bake Out
285 CHA Evaporator - DP In Maintenance
Any help would be appreciated.
Thanks!
p.s. i can't seem to get my results to look good on this forum....
Anyway, I am developing a Tools database for a Cleanroom. It will hopefully keep track of the tools that are used and the maintenance of each tool.
I have created a Tool Details table and a Tools Maintenance table with the data that I need to keep track of each tools and there Maintenance records.
I've created a query to get the Maintenance Record # (ID) the (Tool Name), Downtime End Date (dtEndDate), and (Tool Status).
I want to query the last record for that (Tool Name) and show the current status of the Tool (Tool Status)
I can get the result that i want without the Tool Status:
MaxOfID Tool_Name MaxOfdtEndDate
77 Plasmatherm 790 RIE 2/8/2012
215 Plasmatherm ICP 3/26/2012
270 Oxford HD-PECVD 10/5/2012
282 Stepper 10/9/2012
285 CHA Evaporator - DP 10/10/2012
But as soon as I bring in the (Tool Status) Field I get multiple records of some of the Tools:
MaxOfID Tool_Name MaxOfdtEndDate Tool Status
77 Plasmatherm 790 RIE 2/8/2012 In Service - Up
215 Plasmatherm ICP 3/26/2012 In Service - Up
266 Oxford HD-PECVD 11/18/2009 In Service - Up
267 CHA Evaporator - DP 9/17/2012 In Service - Up
270 Oxford HD-PECVD 10/5/2012 Not in Service - Down
282 Stepper 10/9/2012 Not in Service - Down
284 CHA Evaporator - DP 10/10/2012 In Bake Out
285 CHA Evaporator - DP In Maintenance
Any help would be appreciated.
Thanks!
p.s. i can't seem to get my results to look good on this forum....
Last edited: