create this query
Code:
SELECT TblQuota.RepID, Max(TblQuota.DateOfChange) AS MRChange
FROM TblQuota
GROUP BY TblQuota.RepID;
Save it as qryMRChange
Create this query
Code:
SELECT TblQuota.ID, qryMRChange.RepID, qryMRChange.MRChange, TblQuota.Quota
FROM qryMRChange LEFT JOIN TblQuota ON (qryMRChange.MRChange = TblQuota.DateOfChange) AND (qryMRChange.RepID = TblQuota.RepID)
GROUP BY TblQuota.ID, qryMRChange.RepID, qryMRChange.MRChange, TblQuota.Quota;
Should give you the most recent quota record for your reps
This is making use of an AGGREGATE query to find the most recent date (this assumes there is 1 and only 1 record per rep per day) then links that back to the quota table to get the specific information (quota volume)