M
Michel Peeters
SELECT tblLubricationSchedule.DateDone, tblMachinery.Description
FROM (tblMachinery INNER JOIN tblLubricationPart ON tblMachinery.MachineryId
= tblLubricationPart.MachineryId) INNER JOIN tblLubricationSchedule ON
tblLubricationPart.TblLubricationPartId =
tblLubricationSchedule.TblLubricationPartId;
How can I change above SQL so that for each "MachineryId", only the latest
"DateDone" record is shown?
I tried with Dmax(".... but I cannot make it to work.
Tks,
Michel P.
FROM (tblMachinery INNER JOIN tblLubricationPart ON tblMachinery.MachineryId
= tblLubricationPart.MachineryId) INNER JOIN tblLubricationSchedule ON
tblLubricationPart.TblLubricationPartId =
tblLubricationSchedule.TblLubricationPartId;
How can I change above SQL so that for each "MachineryId", only the latest
"DateDone" record is shown?
I tried with Dmax(".... but I cannot make it to work.
Tks,
Michel P.