Can you assist ??
When I select the following query as the Recordsource on my Form it works first time ............
____________________________________________
SELECT A.ID, A.tblCar, A.tblDrop
FROM (tblContacts AS A INNER JOIN (
SELECT tblCar, Max(ID) AS LastID FROM tblContacts GROUP BY tblCar
) AS B ON A.ID = B.LastID AND A.tblCar = B.tblCar)
INNER JOIN tblDrivers AS D ON A.tblCar = D.Car
WHERE D.[Finish Time] Is Null;
_____________________________________________
I then get the following Error
"The Microsoft Jet Database Engine cannot find the input Table or Query ' Select tblCar, Max(ID)AS LastID FROM tblContacts GROUP BY tblCar' Make sure it exists and its name is spelled correctly." and the Query has altered to
SELECT A.ID, A.tblCar, A.tblDrop
FROM (tblContacts AS A INNER JOIN [SELECT tblCar, Max(ID) AS LastID FROM tblContacts GROUP BY tblCar]. AS B ON (A.tblCar = B.tblCar) AND (A.ID = B.LastID)) INNER JOIN tblDrivers AS D ON A.tblCar = D.Car
WHERE D.[Finish Time] Is Null;
Any Ideas ???
H